Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Document string behaviour ActiveRecord::Sanitization
Without carefully reading examples or the source code it's not clear that .sanitize_sql_for_conditions and .sanitize_sql_for_assignment methods won't sanitize strings and will result in a no-op. This is an attempt to raise awareness of this unexpected behaviour from a method aliased as `.sanitize_sql`.
- Loading branch information
1 parent
c18e8ad
commit a9b9bb0
Showing
1 changed file
with
10 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters