diff options
author | José Valim <jose.valim@gmail.com> | 2011-12-15 14:47:22 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-12-15 17:09:48 +0100 |
commit | de947c621d8ee18caca574451c722a6e30c4e6d6 (patch) | |
tree | ed66eedf0891ced6f3ccf315091cb7b3d5418505 | |
parent | 8dba32f125cc0b79fe453f38b1044c7bf9fb52ce (diff) | |
download | rails-de947c621d8ee18caca574451c722a6e30c4e6d6.tar.gz rails-de947c621d8ee18caca574451c722a6e30c4e6d6.tar.bz2 rails-de947c621d8ee18caca574451c722a6e30c4e6d6.zip |
There isn't a column_hash. It was being invoked by method missing.
-rw-r--r-- | activerecord/lib/active_record/relation.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb index 2897e354c5..a127163e6c 100644 --- a/activerecord/lib/active_record/relation.rb +++ b/activerecord/lib/active_record/relation.rb @@ -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 |