= private = protected
columns(table_name)
Returns an array of Column objects for the table specified by table_name.
# File activerecord/lib/active_record/connection_adapters/abstract/schema_statements.rb, line 107 def columns(table_name) table_name = table_name.to_s definitions = column_definitions(table_name) definitions.map do |field| new_column_from_field(table_name, field, definitions) end end