This method is deprecated or moved on the latest stable version. The last existing version (v4.2.9) is shown here.
sanitize_sql_hash(attrs, default_table_name = self.table_name)
Alias for ActiveRecord::Sanitization::ClassMethods#sanitize_sql_hash_for_conditions