aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/type
diff options
context:
space:
mode:
authorAnton Cherepanov <davetoxa@gmail.com>2014-06-23 22:50:21 +0600
committerAnton Cherepanov <davetoxa@gmail.com>2014-06-23 23:15:58 +0600
commite2960fb293840983ac99a8997b09b183b86b05c7 (patch)
tree02d1b8c5baa5a74b859c5f1a0dda662cb41db2f9 /activerecord/lib/active_record/type
parent936fd4c1e017ec88699b3cd7daa09847da36c731 (diff)
downloadrails-e2960fb293840983ac99a8997b09b183b86b05c7.tar.gz
rails-e2960fb293840983ac99a8997b09b183b86b05c7.tar.bz2
rails-e2960fb293840983ac99a8997b09b183b86b05c7.zip
Small typo
Diffstat (limited to 'activerecord/lib/active_record/type')
-rw-r--r--activerecord/lib/active_record/type/value.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/type/value.rb b/activerecord/lib/active_record/type/value.rb
index 875fb98c4b..063139e620 100644
--- a/activerecord/lib/active_record/type/value.rb
+++ b/activerecord/lib/active_record/type/value.rb
@@ -63,7 +63,7 @@ module ActiveRecord
private
# Takes an input from the database, or from attribute setters,
# and casts it to a type appropriate for this object. This method
- # should not be overriden by subclasses. Instead, override `cast_value`.
+ # should not be overridden by subclasses. Instead, override `cast_value`.
def type_cast(value) # :api: public
cast_value(value) unless value.nil?
end