From e2960fb293840983ac99a8997b09b183b86b05c7 Mon Sep 17 00:00:00 2001 From: Anton Cherepanov Date: Mon, 23 Jun 2014 22:50:21 +0600 Subject: Small typo --- activerecord/lib/active_record/attributes.rb | 2 +- activerecord/lib/active_record/type/value.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'activerecord') diff --git a/activerecord/lib/active_record/attributes.rb b/activerecord/lib/active_record/attributes.rb index d0287140c8..9a329ac564 100644 --- a/activerecord/lib/active_record/attributes.rb +++ b/activerecord/lib/active_record/attributes.rb @@ -27,7 +27,7 @@ module ActiveRecord # # ==== Examples # - # The type detected by Active Record can be overriden. + # The type detected by Active Record can be overridden. # # # db/schema.rb # create_table :store_listings, force: true do |t| 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 -- cgit v1.2.3