method
columns_hash
v4.1.8 -
Show latest stable
- Class:
ActiveRecord::ConnectionAdapters::SchemaCache
columns_hash(table)public
Get the columns for a table as a hash, key is the column name value is the column object.
columns_hash(table)Get the columns for a table as a hash, key is the column name value is the column object.