aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/CHANGELOG.md
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-11-02 13:34:52 -0700
committerSean Griffin <sean@thoughtbot.com>2014-11-02 13:34:52 -0700
commiteb921000a11bc87a3b001164fc367b84aee584c5 (patch)
treea0ab73397535d0200e3b877c7851b4cd25d0ac12 /activerecord/CHANGELOG.md
parentd3fbd9dbb8f3c215c5364c07e32b5bc1d2497633 (diff)
downloadrails-eb921000a11bc87a3b001164fc367b84aee584c5.tar.gz
rails-eb921000a11bc87a3b001164fc367b84aee584c5.tar.bz2
rails-eb921000a11bc87a3b001164fc367b84aee584c5.zip
Deprecate `sanitize_sql_hash_` methods on ActiveRecord
These appear to be implementation relics of times past. They duplicate the logic in Relation, and are no longer used internally.
Diffstat (limited to 'activerecord/CHANGELOG.md')
-rw-r--r--activerecord/CHANGELOG.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG.md b/activerecord/CHANGELOG.md
index ab85f2a472..5404465b4c 100644
--- a/activerecord/CHANGELOG.md
+++ b/activerecord/CHANGELOG.md
@@ -1,3 +1,9 @@
+* Deprecate `sanitize_sql_hash_for_conditions` and
+ `sanitize_sql_hash_for_assignment` without replacement. Using a `Relation`
+ for performing queries and updates is the prefered API.
+
+ *Sean Griffin*
+
* Queries now properly type cast values that are part of a join statement,
even when using type decorators such as `serialize`.