Skip to content

Commit 8f5413b

Browse files
committed
Remove deprecated method #sanitize_conditions
1 parent ef77847 commit 8f5413b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

activerecord/CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
* Remove deprecated method `#sanitize_conditions`.
2+
3+
*Rafael Mendonça França*
4+
15
* Remove deprecated method `#scope_chain`.
26

37
*Rafael Mendonça França*

activerecord/lib/active_record/sanitization.rb

-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,6 @@ def sanitize_sql_for_conditions(condition) # :doc:
3030
end
3131
end
3232
alias :sanitize_sql :sanitize_sql_for_conditions
33-
alias :sanitize_conditions :sanitize_sql
34-
deprecate sanitize_conditions: :sanitize_sql
3533

3634
# Accepts an array, hash, or string of SQL conditions and sanitizes
3735
# them into a valid SQL fragment for a SET clause.

0 commit comments

Comments
 (0)