Closed kzaitsev closed 4 years ago
Right now upsert for ActiveRecord 6.0 + doesn't reset query cache. This compatibility patch fixes it.
upsert
https://github.com/rails/rails/blob/6-0-stable/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#L17
Right now
upsert
for ActiveRecord 6.0 + doesn't reset query cache. This compatibility patch fixes it.https://github.com/rails/rails/blob/6-0-stable/activerecord/lib/active_record/connection_adapters/abstract/query_cache.rb#L17