diff --git a/lib/brakeman/checks/check_sql.rb b/lib/brakeman/checks/check_sql.rb index df3c1e18d02cff7c48d14b672d72e60663330670..b56db60e98101c243ccdb4cd6396c51341370e41 100644 --- a/lib/brakeman/checks/check_sql.rb +++ b/lib/brakeman/checks/check_sql.rb @@ -456,7 +456,7 @@ class Brakeman::CheckSQL < Brakeman::BaseCheck end end - IGNORE_METHODS_IN_SQL = Set[:id, :table_name, :to_i, :to_f, + IGNORE_METHODS_IN_SQL = Set[:id, :merge_conditions, :table_name, :to_i, :to_f, :sanitize_sql, :sanitize_sql_array, :sanitize_sql_for_assignment, :sanitize_sql_for_conditions, :sanitize_sql_hash, :sanitize_sql_hash_for_assignment, :sanitize_sql_hash_for_conditions]