We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f7c84d8 commit 87e9778Copy full SHA for 87e9778
app/models/solid_cache/entry.rb
@@ -33,7 +33,7 @@ def read(key)
33
34
def read_multi(keys)
35
without_query_cache do
36
- find_by_sql([select_sql(keys), *key_hashes_for(keys)]).pluck(:key, :value).to_h
+ connection.select_rows(select_sql(keys), "SQL", key_hashes_for(keys)).to_h
37
end
38
39
0 commit comments