# File lib/big_record/dynamic_schema.rb, line 46 def column_for_attribute_with_dynamic_schema(name) name_string = name.to_s self.columns_hash[name_string] || self.columns_hash["#{self.class.default_column_prefix}#{name_string}"] || self.columns.select{|c|c.alias==name_string}.first end