You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We shouldn't dup query values if those values are frozen. For example
if you have a script like:
```ruby
class Post < ActiveRecord::Base
default_scope { where(author: "foo", title: "bar") }
end
```
The "foo" and "bar" strings would get dup'd even if you have
frozen_string_literals set. I think this impacts all `where` calls, not
just default_scope, and I think frozen string literals are more common
so this should help more than just default_scope
0 commit comments