diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-09-15 14:40:42 -0300 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2017-10-23 12:50:47 -0400 |
commit | 8f5413b896099f80ef46a97819fe47a820417bc2 (patch) | |
tree | de1fccf500d8b5c76b6dfca8ee5b2b1becdbdfd3 /activerecord | |
parent | ef7784752c5c5efbe23f62d2bbcc62d4fd8aacab (diff) | |
download | rails-8f5413b896099f80ef46a97819fe47a820417bc2.tar.gz rails-8f5413b896099f80ef46a97819fe47a820417bc2.tar.bz2 rails-8f5413b896099f80ef46a97819fe47a820417bc2.zip |
Remove deprecated method `#sanitize_conditions`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG.md | 4 | ||||
-rw-r--r-- | activerecord/lib/active_record/sanitization.rb | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md index 31d360b01e..ee73004810 100644 --- a/activerecord/CHANGELOG.md +++ b/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* diff --git a/activerecord/lib/active_record/sanitization.rb b/activerecord/lib/active_record/sanitization.rb index 3482d32059..1c3099f55c 100644 --- a/activerecord/lib/active_record/sanitization.rb +++ b/activerecord/lib/active_record/sanitization.rb @@ -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. |