method
columns_hash
rails 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.
columns_hash(connection, table_name)Get the columns for a table as a hash, key is the column name value is the column object.