diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2017-01-30 16:36:17 -0800 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2017-01-30 16:36:17 -0800 |
commit | 4e5c2ccc1d97f0c18834f616fc219be6b1531bde (patch) | |
tree | c4f0d5c666342275e74f2a682456120ca0d16285 /activesupport/test/string_inquirer_test.rb | |
parent | ef7b9b867b3c113bbbc7639b5d760a8f962a683c (diff) | |
download | rails-4e5c2ccc1d97f0c18834f616fc219be6b1531bde.tar.gz rails-4e5c2ccc1d97f0c18834f616fc219be6b1531bde.tar.bz2 rails-4e5c2ccc1d97f0c18834f616fc219be6b1531bde.zip |
Avoid lambda scopes when possible
Lambda scopes require a bunch more work. Ideally the `scope` list would
be a homogeneous collection. In this case, the reflection knows how to
construct the right reflection for this join, so lets just construct
that relation rather than instance execing to figure it out later.
Diffstat (limited to 'activesupport/test/string_inquirer_test.rb')
0 files changed, 0 insertions, 0 deletions