1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Remove deprecated method #sanitize_conditions

This commit is contained in:
Rafael Mendonça França 2017-09-15 14:40:42 -03:00
parent ef7784752c
commit 8f5413b896
No known key found for this signature in database
GPG key ID: FC23B6D0F1EEE948
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,7 @@
* Remove deprecated method `#sanitize_conditions`.
*Rafael Mendonça França*
* Remove deprecated method `#scope_chain`.
*Rafael Mendonça França*

View file

@ -30,8 +30,6 @@ module ActiveRecord
end
end
alias :sanitize_sql :sanitize_sql_for_conditions
alias :sanitize_conditions :sanitize_sql
deprecate sanitize_conditions: :sanitize_sql
# Accepts an array, hash, or string of SQL conditions and sanitizes
# them into a valid SQL fragment for a SET clause.