Permalink
Browse files

Remove deprecated method `#sanitize_conditions`

  • Loading branch information...
rafaelfranca committed Sep 15, 2017
1 parent ef77847 commit 8f5413b896099f80ef46a97819fe47a820417bc2
Showing with 4 additions and 2 deletions.
  1. +4 −0 activerecord/CHANGELOG.md
  2. +0 −2 activerecord/lib/active_record/sanitization.rb
@@ -1,3 +1,7 @@
* Remove deprecated method `#sanitize_conditions`.
*Rafael Mendonça França*
* Remove deprecated method `#scope_chain`.
*Rafael Mendonça França*
@@ -30,8 +30,6 @@ def sanitize_sql_for_conditions(condition) # :doc:
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.

0 comments on commit 8f5413b

Please sign in to comment.