• J
    Fixes Issue #13466. · 9c3afdc3
    Jefferson Lai 提交于
    Changed the call to a scope block to be evaluated with instance_eval.
    The result is that ScopeRegistry can use the actual class instead of base_class when
    caching scopes so queries made by classes with a common ancestor won't leak scopes.
    9c3afdc3
scoping.rb 2.7 KB