There isn't a column_hash. It was being invoked by method missing.

This commit is contained in:
José Valim
2011-12-15 14:47:22 +01:00
parent 8dba32f125
commit de947c621d

View File

@@ -15,7 +15,7 @@ module ActiveRecord
# These are explicitly delegated to improve performance (avoids method_missing)
delegate :to_xml, :to_yaml, :length, :collect, :map, :each, :all?, :include?, :to => :to_a
delegate :table_name, :quoted_table_name, :primary_key, :quoted_primary_key,
:connection, :column_hash, :auto_explain_threshold_in_seconds, :to => :klass
:connection, :columns_hash, :auto_explain_threshold_in_seconds, :to => :klass
attr_reader :table, :klass, :loaded
attr_accessor :extensions, :default_scoped