diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-07 15:28:49 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-07 15:28:49 -0800 |
commit | 5f1ea2a26b6e29f235e132d565b53f12e0234c66 (patch) | |
tree | 62238669bcce36ef482f806d00a7d7bb5f971a4c | |
parent | 30bba95a048af7f64724fe2450ad14967581a456 (diff) | |
download | rails-5f1ea2a26b6e29f235e132d565b53f12e0234c66.tar.gz rails-5f1ea2a26b6e29f235e132d565b53f12e0234c66.tar.bz2 rails-5f1ea2a26b6e29f235e132d565b53f12e0234c66.zip |
we do not use this method, so delete
-rw-r--r-- | activerecord/test/cases/helper.rb | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 8c001096cc..1019ea1dda 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -74,18 +74,6 @@ module ActiveRecord ActiveSupport::Notifications.subscribe('sql.active_record', SQLCounter.new) end -ActiveRecord::Base.connection.class.class_eval { - attr_accessor :column_calls - - def columns_with_calls(*args) - @column_calls ||= 0 - @column_calls += 1 - columns_without_calls(*args) - end - - alias_method_chain :columns, :calls -} - unless ENV['FIXTURE_DEBUG'] module ActiveRecord::TestFixtures::ClassMethods def try_to_load_dependency_with_silence(*args) |