diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-01-09 16:45:22 +0000 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-01-11 13:45:07 -0800 |
commit | 4754018272d576590693e5418936db23c7d13172 (patch) | |
tree | e00ef29db099af142accb9306689befef8dd11a1 /activerecord/lib/active_record | |
parent | 9086b02ba5b0bd3e956097c7edbd0f337c614801 (diff) | |
download | rails-4754018272d576590693e5418936db23c7d13172.tar.gz rails-4754018272d576590693e5418936db23c7d13172.tar.bz2 rails-4754018272d576590693e5418936db23c7d13172.zip |
find_target can be inherited
Diffstat (limited to 'activerecord/lib/active_record')
-rw-r--r-- | activerecord/lib/active_record/associations/has_one_through_association.rb | 4 |
1 files changed, 0 insertions, 4 deletions
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 |