diff options
author | Ernie Miller <ernie@metautonomo.us> | 2011-02-10 14:03:25 -0500 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2011-02-12 17:23:19 -0800 |
commit | fbd917f50a6046d02dd6a64ccfb1aed0cbce68d8 (patch) | |
tree | 0c7ee4599878c0f2c81d7c0fab7b6691dc3fd945 /activerecord/lib/active_record/associations/through_association.rb | |
parent | 7eb554bdb13d3469712b847add2ab0054f0698c7 (diff) | |
download | rails-fbd917f50a6046d02dd6a64ccfb1aed0cbce68d8.tar.gz rails-fbd917f50a6046d02dd6a64ccfb1aed0cbce68d8.tar.bz2 rails-fbd917f50a6046d02dd6a64ccfb1aed0cbce68d8.zip |
Remove Relation#& alias for Relation#merge
Diffstat (limited to 'activerecord/lib/active_record/associations/through_association.rb')
-rw-r--r-- | activerecord/lib/active_record/associations/through_association.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/associations/through_association.rb b/activerecord/lib/active_record/associations/through_association.rb index 4ae0669c96..ab593d09b9 100644 --- a/activerecord/lib/active_record/associations/through_association.rb +++ b/activerecord/lib/active_record/associations/through_association.rb @@ -6,7 +6,7 @@ module ActiveRecord protected def target_scope - super & @reflection.through_reflection.klass.scoped + super.merge(@reflection.through_reflection.klass.scoped) end def association_scope |