Skip to content

Commit

Permalink
all the way back
Browse files Browse the repository at this point in the history
  • Loading branch information
ollym committed Jul 3, 2024
1 parent e957b5b commit 820f8dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/solid_cache/entry.rb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ def select_all_no_query_cache(query, values)
if connection.prepared_statements?
result = connection.select_all(sanitize_sql(query), "#{name} Load", Array(values), preparable: true)
else
result = connection.select_all(sanitize_sql([ query, Array(values) ]), "#{name} Load", Array(values), preparable: false)
result = connection.select_all(sanitize_sql([ query, values ]), "#{name} Load", binds, preparable: false)
end

result.cast_values(SolidCache::Entry.attribute_types)
Expand Down

0 comments on commit 820f8dd

Please sign in to comment.