aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/statement_cache.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord/lib/active_record/statement_cache.rb')
-rw-r--r--activerecord/lib/active_record/statement_cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/statement_cache.rb b/activerecord/lib/active_record/statement_cache.rb
index 7e73744d59..46c8bcc9c5 100644
--- a/activerecord/lib/active_record/statement_cache.rb
+++ b/activerecord/lib/active_record/statement_cache.rb
@@ -51,7 +51,7 @@ module ActiveRecord
@value_map = {}
@bind_values = bind_values
- bind_values.each_with_index do |(column, value), i|
+ bind_values.each_with_index do |(_, value), i|
if Substitute === value
@value_map[value.name] = i
end