From e47b6dee858e62dceba867dd160b968d679c82e8 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Wed, 19 Jun 2013 14:22:02 +0100 Subject: Revert "Merge pull request #10566 from neerajdotname/10509d" This reverts commit 2b817a5e89ac0e7aeb894a40ae7151a0cf3cef16, reversing changes made to 353a398bee68c5ea99d76ac7601de0a5fef6f4a5. Conflicts: activerecord/CHANGELOG.md Reason: the build broke --- activerecord/test/cases/associations/inverse_associations_test.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'activerecord/test/cases') diff --git a/activerecord/test/cases/associations/inverse_associations_test.rb b/activerecord/test/cases/associations/inverse_associations_test.rb index 993e7294cf..b1f0be3204 100644 --- a/activerecord/test/cases/associations/inverse_associations_test.rb +++ b/activerecord/test/cases/associations/inverse_associations_test.rb @@ -401,14 +401,6 @@ class InverseHasManyTests < ActiveRecord::TestCase assert_equal man.name, man.interests.find(interest.id).man.name, "The name of the man should match after the child name is changed" end - def test_find_on_child_instance_with_id_should_not_load_all_child_records - man = Man.create! - interest = Interest.create!(man: man) - - man.interests.find(interest.id) - refute man.interests.loaded? - end - def test_raise_record_not_found_error_when_invalid_ids_are_passed man = Man.create! -- cgit v1.2.3