Method: ActiveRecord::ConnectionAdapters::SchemaStatements#rename_column
- Defined in:
- activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb
#rename_column(table_name, column_name, new_column_name) ⇒ Object
Renames a column.
rename_column(:suppliers, :description, :name)
676 677 678 |
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb', line 676 def rename_column(table_name, column_name, new_column_name) raise NotImplementedError, "rename_column is not implemented" end |