aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validations.rb
diff options
context:
space:
mode:
authorEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-15 12:04:22 +0400
committerEvgeniy Dolzhenko <dolzenko@gmail.com>2010-06-15 12:04:22 +0400
commitef404c771d11b5c396907e47581f36b654d820df (patch)
tree3fa35041c1efb93e2067950d032e280788e8029d /activemodel/lib/active_model/validations.rb
parent3cc2d196c03fbc5cf21babf777dfa841f3d1012d (diff)
parented507300f05fa5e86f7f7d8988f2d25a91b37b8b (diff)
downloadrails-ef404c771d11b5c396907e47581f36b654d820df.tar.gz
rails-ef404c771d11b5c396907e47581f36b654d820df.tar.bz2
rails-ef404c771d11b5c396907e47581f36b654d820df.zip
Fix a bunch of minor spelling mistakes
Diffstat (limited to 'activemodel/lib/active_model/validations.rb')
-rw-r--r--activemodel/lib/active_model/validations.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validations.rb b/activemodel/lib/active_model/validations.rb
index 57487cf75a..36d89c2492 100644
--- a/activemodel/lib/active_model/validations.rb
+++ b/activemodel/lib/active_model/validations.rb
@@ -91,7 +91,7 @@ module ActiveModel
end
# Adds a validation method or block to the class. This is useful when
- # overriding the +validate+ instance method becomes too unwieldly and
+ # overriding the +validate+ instance method becomes too unwieldy and
# you're looking for more descriptive declaration of your validations.
#
# This can be done with a symbol pointing to a method:
@@ -176,7 +176,7 @@ module ActiveModel
!valid?(context)
end
- # Hook method defining how an attribute value should be retieved. By default
+ # Hook method defining how an attribute value should be retrieved. By default
# this is assumed to be an instance named after the attribute. Override this
# method in subclasses should you need to retrieve the value for a given
# attribute differently: