mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9c3afdc327
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. |
||
---|---|---|
.. | ||
active_record | ||
rails/generators | ||
active_record.rb |