Fix delete_all on association
Previously, having the `where` turned this into a relation so `ActiveRecord::Relation#delete_all` is called. In Rails 6, `ActiveRecord::Associations::CollectionProxy#delete_all` is called causing an error in the query.
Showing
Please register or sign in to comment