diff options
author | Brian Cardarella <bcardarella@gmail.com> | 2012-06-26 14:33:21 -0400 |
---|---|---|
committer | Brian Cardarella <bcardarella@gmail.com> | 2012-06-29 14:58:19 -0500 |
commit | 05c7e0ae6425fc5cbc9cb50bd035a3ee80e8b4b3 (patch) | |
tree | 69263050f7a52ef98d71d277ec325765258f2fb0 /activerecord/test | |
parent | 58c83d4c6108a67ee0cf2de4ed8ea91953f98d2d (diff) | |
download | rails-05c7e0ae6425fc5cbc9cb50bd035a3ee80e8b4b3.tar.gz rails-05c7e0ae6425fc5cbc9cb50bd035a3ee80e8b4b3.tar.bz2 rails-05c7e0ae6425fc5cbc9cb50bd035a3ee80e8b4b3.zip |
Remove ActiveRelation#inspect
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index b8481175b2..3ea6201d60 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -193,7 +193,7 @@ class HasManyAssociationsTest < ActiveRecord::TestCase def test_no_sql_should_be_fired_if_association_already_loaded Car.create(:name => 'honda') bulbs = Car.first.bulbs - bulbs.inspect # to load all instances of bulbs + bulbs.to_a # to load all instances of bulbs assert_no_queries do bulbs.first() |