aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type/mutable.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@thoughtbot.com>2014-06-24 08:51:42 -0600
committerSean Griffin <sean@thoughtbot.com>2014-06-24 08:51:55 -0600
commit174d73a4401b4d310fe8ee54994a04890a6bd6b9 (patch)
tree36462d54a108f9b52e02c16d8c462b6feab85621 /activerecord/lib/active_record/type/mutable.rb
parentc2b02d00ae4471ba93be4858a91741d8a7afe9c4 (diff)
downloadrails-174d73a4401b4d310fe8ee54994a04890a6bd6b9.tar.gz
rails-174d73a4401b4d310fe8ee54994a04890a6bd6b9.tar.bz2
rails-174d73a4401b4d310fe8ee54994a04890a6bd6b9.zip
Doc pass for `Type::Value` [ci skip]
Diffstat (limited to 'activerecord/lib/active_record/type/mutable.rb')
-rw-r--r--activerecord/lib/active_record/type/mutable.rb2
1 files changed, 1 insertions, 1 deletions
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