From 4754018272d576590693e5418936db23c7d13172 Mon Sep 17 00:00:00 2001 From: Jon Leighton Date: Sun, 9 Jan 2011 16:45:22 +0000 Subject: find_target can be inherited --- .../lib/active_record/associations/has_one_through_association.rb | 4 ---- 1 file changed, 4 deletions(-) (limited to 'activerecord/lib/active_record/associations/has_one_through_association.rb') diff --git a/activerecord/lib/active_record/associations/has_one_through_association.rb b/activerecord/lib/active_record/associations/has_one_through_association.rb index 11fa40a5c4..ab8543e4af 100644 --- a/activerecord/lib/active_record/associations/has_one_through_association.rb +++ b/activerecord/lib/active_record/associations/has_one_through_association.rb @@ -31,10 +31,6 @@ module ActiveRecord end end end - - def find_target - scoped.first - end end end end -- cgit v1.2.3