rails-sqlserver / activerecord-sqlserver-adapter

SQL Server Adapter For Rails
MIT License
968 stars 558 forks source link

Query cache is now a Store class instead of a Hash #1162

Closed aidanharan closed 2 months ago

aidanharan commented 2 months ago

Fix delete_if query cache errors such as:

2024-04-22T08:30:09.6307424Z LogSubscriberTest#test_cached_queries:
2024-04-22T08:30:09.6308834Z NoMethodError: undefined method `delete_if' for an instance of ActiveRecord::ConnectionAdapters::QueryCache::Store

in https://github.com/rails-sqlserver/activerecord-sqlserver-adapter/actions/runs/8780917694/job/24091821156