aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2017-03-03 11:15:58 -0800
committerAaron Patterson <aaron.patterson@gmail.com>2017-03-03 11:29:43 -0800
commita5651eb522bd656f21f2f2da57d6326a6bd28372 (patch)
treef92679a2d4494846ec1107ff57ecfdc1d6cfd5f9 /activerecord/lib/active_record/attribute_methods
parent76be78c59cd75eaafb31719745b43df4743fd33d (diff)
downloadrails-a5651eb522bd656f21f2f2da57d6326a6bd28372.tar.gz
rails-a5651eb522bd656f21f2f2da57d6326a6bd28372.tar.bz2
rails-a5651eb522bd656f21f2f2da57d6326a6bd28372.zip
Move join scopes on to the reflection object
Scopes can only ever be *not* reflection objects when they are passed in to the Reflection constructor. Given this fact, we can eliminate is_a checks and an intermediate array object by just asking the reflection object for join scopes.
Diffstat (limited to 'activerecord/lib/active_record/attribute_methods')
0 files changed, 0 insertions, 0 deletions