Method: ActiveRecord::ConnectionAdapters::TableDefinition#remove_column

Defined in:
activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb

#remove_column(name) ⇒ Object

remove the column name from the table.

remove_column(:account_id)


509
510
511
# File 'activerecord/lib/active_record/connection_adapters/abstract/schema_definitions.rb', line 509

def remove_column(name)
  @columns_hash.delete name.to_s
end