module ActiveRecord::Sanitization::ClassMethods

def replace_bind_variables(statement, values) #:nodoc:

:nodoc:
def replace_bind_variables(statement, values) #:nodoc:
  raise_if_bind_arity_mismatch(statement, statement.count('?'), values.size)
  bound = values.dup
  c = connection
  statement.gsub('?') do
    replace_bind_variable(bound.shift, c)
  end
end