From 174d73a4401b4d310fe8ee54994a04890a6bd6b9 Mon Sep 17 00:00:00 2001 From: Sean Griffin Date: Tue, 24 Jun 2014 08:51:42 -0600 Subject: Doc pass for `Type::Value` [ci skip] --- activerecord/lib/active_record/type/mutable.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord/lib/active_record/type/mutable.rb') diff --git a/activerecord/lib/active_record/type/mutable.rb b/activerecord/lib/active_record/type/mutable.rb index 2c69f98a2d..066617ea59 100644 --- a/activerecord/lib/active_record/type/mutable.rb +++ b/activerecord/lib/active_record/type/mutable.rb @@ -8,7 +8,7 @@ module ActiveRecord # +raw_old_value+ will be the `_before_type_cast` version of the # value (likely a string). +new_value+ will be the current, type # cast value. - def changed_in_place?(raw_old_value, new_value) # :nodoc: + def changed_in_place?(raw_old_value, new_value) raw_old_value != type_cast_for_database(new_value) end end -- cgit v1.2.3