Querying not working in Rails 6.1
Closed this issue · 0 comments
zokioki commented
After upgrading to Rails 6.1, calling store
will raise a NoMethodError
for where_clause_factory
. To reproduce, you can run the following type of query:
User.where.store(:some_data_column, foo: 'bar')
#=> NoMethodError: undefined method `where_clause_factory' for #<User::ActiveRecord_Relation:0x00007fe1cdb66230>
It looks like where_clause_factory
was recently removed in favor of build_where_clause
.