Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Override scope_for_create in Rails 6.1.3+
In rails/rails#41319 the `scope_for_create` method was changed so that it called `where_clause.to_h` directly and now bypasses the patched version of `where_values_hash`. This means we now have to override `scope_for_create` in Rails 6.1.3 and later. Fixes globalize#776
- Loading branch information