aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/reflection.rb
diff options
context:
space:
mode:
authorEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
committerEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-11 14:15:34 +0400
commitccf9577aee86ce1f766c5e8854e0c285dc38f8ac (patch)
tree7d7aae452ebfeb8ae30016ceffd0e8686bbf1b57 /activerecord/lib/active_record/reflection.rb
parent2148e2cc943f17544f1288e742954fdaa8a92d62 (diff)
downloadrails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.gz
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.tar.bz2
rails-ccf9577aee86ce1f766c5e8854e0c285dc38f8ac.zip
Fix a bunch of minor spelling mistakes
Diffstat (limited to 'activerecord/lib/active_record/reflection.rb')
-rw-r--r--activerecord/lib/active_record/reflection.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/lib/active_record/reflection.rb b/activerecord/lib/active_record/reflection.rb
index 0e48e229b3..d4af3d7d15 100644
--- a/activerecord/lib/active_record/reflection.rb
+++ b/activerecord/lib/active_record/reflection.rb
@@ -165,14 +165,14 @@ module ActiveRecord
klass.new(*options)
end
- # Creates a new instance of the associated class, and immediates saves it
+ # Creates a new instance of the associated class, and immediately saves it
# with ActiveRecord::Base#save. +options+ will be passed to the class's
# creation method. Returns the newly created object.
def create_association(*options)
klass.create(*options)
end
- # Creates a new instance of the associated class, and immediates saves it
+ # Creates a new instance of the associated class, and immediately saves it
# with ActiveRecord::Base#save!. +options+ will be passed to the class's
# creation method. If the created record doesn't pass validations, then an
# exception will be raised.
@@ -267,10 +267,10 @@ module ActiveRecord
# Returns whether or not the association should be validated as part of
# the parent's validation.
#
- # Unless you explicitely disable validation with
+ # Unless you explicitly disable validation with
# <tt>:validate => false</tt>, it will take place when:
#
- # * you explicitely enable validation; <tt>:validate => true</tt>
+ # * you explicitly enable validation; <tt>:validate => true</tt>
# * you use autosave; <tt>:autosave => true</tt>
# * the association is a +has_many+ association
def validate?