Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Remove deprecated method #sanitize_conditions
  • Loading branch information
rafaelfranca committed Oct 23, 2017
1 parent ef77847 commit 8f5413b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 4 additions & 0 deletions activerecord/CHANGELOG.md
@@ -1,3 +1,7 @@
* Remove deprecated method `#sanitize_conditions`.

*Rafael Mendonça França*

* Remove deprecated method `#scope_chain`.

*Rafael Mendonça França*
Expand Down
2 changes: 0 additions & 2 deletions activerecord/lib/active_record/sanitization.rb
Expand Up @@ -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.
Expand Down

0 comments on commit 8f5413b

Please sign in to comment.