APIdock / Ruby on Rails
/
Browse About
method

sanitize_sql

v4.2.1 - Show latest stable - Class: ActiveRecord::Sanitization::ClassMethods
sanitize_sql(condition, table_name = self.table_name)
protected

Alias for ActiveRecord::Sanitization::ClassMethods#sanitize_sql_for_conditions

Related methods

  • Instance methods
  • quote_value
  • sanitize
  • Protected methods
  • protectedexpand_hash_conditions_for_aggregates
  • protectedquote_bound_value
  • protectedraise_if_bind_arity_mismatch
  • protectedreplace_bind_variable
  • protectedreplace_bind_variables
  • protectedreplace_named_bind_variables
  • protectedsanitize_conditions
  • protectedsanitize_sql
  • protectedsanitize_sql_array
  • protectedsanitize_sql_for_assignment
  • protectedsanitize_sql_for_conditions
  • protectedsanitize_sql_hash
  • protectedsanitize_sql_hash_for_assignment
  • protectedsanitize_sql_hash_for_conditions
  • protectedsanitize_sql_like
APIdock API Documentation Browser

© 2026 APIdock