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