From eb921000a11bc87a3b001164fc367b84aee584c5 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Sun, 2 Nov 2014 13:34:52 -0700 Subject: 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. --- activerecord/CHANGELOG.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'activerecord/CHANGELOG.md') 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`. -- cgit v1.2.3