diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2018-11-30 05:50:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2018-11-30 05:50:40 +0900 |
commit | 3090b358482942b944e5944c4869d2bf1afdefb8 (patch) | |
tree | b170f458df19dd30343cfa6d07e1beca5c4f7fd7 /activerecord/lib/active_record/connection_adapters | |
parent | e4aec40578ea0dd2944f97f1ad60cfbdf4b3a44d (diff) | |
download | rails-3090b358482942b944e5944c4869d2bf1afdefb8.tar.gz rails-3090b358482942b944e5944c4869d2bf1afdefb8.tar.bz2 rails-3090b358482942b944e5944c4869d2bf1afdefb8.zip |
Fix the scoping with query methods in the scope block
Follow up #33394.
#33394 only fixes the case of scoping with klass methods in the scope
block which invokes `klass.all`.
Query methods in the scope block also need to invoke `klass.all` to be
affected by the scoping.
Diffstat (limited to 'activerecord/lib/active_record/connection_adapters')
0 files changed, 0 insertions, 0 deletions