diff options
author | Evgeniy Dolzhenko <dolzenko@gmail.com> | 2010-06-15 12:04:22 +0400 |
---|---|---|
committer | Evgeniy Dolzhenko <dolzenko@gmail.com> | 2010-06-15 12:04:22 +0400 |
commit | ef404c771d11b5c396907e47581f36b654d820df (patch) | |
tree | 3fa35041c1efb93e2067950d032e280788e8029d /activemodel/lib/active_model/validations.rb | |
parent | 3cc2d196c03fbc5cf21babf777dfa841f3d1012d (diff) | |
parent | ed507300f05fa5e86f7f7d8988f2d25a91b37b8b (diff) | |
download | rails-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.rb | 4 |
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: |