1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/test/cases/scoping
Ryuta Kamizono 1173c7cad3 Avoid extra scoping in delegating to klass methods in the scope block
Since #29301, delegating to klass methods in the `scope` block would
cause extra scoping by the receiver itself. The extra scoping would
always override intermediate scoping like `unscoped` and caused the
regression #33387. To keep the original scoping behavior, should avoid
the extra scoping in the `scope` block.

Fixes #33387.
2018-07-19 18:55:29 +09:00
..
default_scoping_test.rb Use assert_no_match for test_order_to_unscope_reordering 2018-04-20 01:24:51 +00:00
named_scoping_test.rb assert_called 2018-04-26 08:02:08 +02:00
relation_scoping_test.rb Avoid extra scoping in delegating to klass methods in the scope block 2018-07-19 18:55:29 +09:00