sanitize_sql_array (ActiveRecord::Base)

    # File lib/active_record/base.rb, line 1835
            def sanitize_sql_array(ary)
              statement, *values = ary
              if values.first.is_a?(Hash) and statement =~ /:\w+/
                replace_named_bind_variables(statement, values.first)
              elsif statement.include?('?')
                replace_bind_variables(statement, values)
              else
                statement % values.collect { |value| connection.quote_string(value.to_s) }
              end
            end