diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2017-03-03 11:15:58 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2017-03-03 11:29:43 -0800 |
commit | a5651eb522bd656f21f2f2da57d6326a6bd28372 (patch) | |
tree | f92679a2d4494846ec1107ff57ecfdc1d6cfd5f9 /activerecord/lib/active_record/version.rb | |
parent | 76be78c59cd75eaafb31719745b43df4743fd33d (diff) | |
download | rails-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/version.rb')
0 files changed, 0 insertions, 0 deletions