aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model/validator.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/validator.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/validator.rb')
-rw-r--r--activemodel/lib/active_model/validator.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validator.rb b/activemodel/lib/active_model/validator.rb
index dd9e39843e..689c617177 100644
--- a/activemodel/lib/active_model/validator.rb
+++ b/activemodel/lib/active_model/validator.rb
@@ -109,7 +109,7 @@ module ActiveModel #:nodoc:
@kind ||= name.split('::').last.underscore.sub(/_validator$/, '').to_sym unless anonymous?
end
- # Accepts options that will be made availible through the +options+ reader.
+ # Accepts options that will be made available through the +options+ reader.
def initialize(options)
@options = options
end
@@ -155,7 +155,7 @@ module ActiveModel #:nodoc:
end
end
- # Override this method in subclasses with the validation logic, adding
+ # Override this method in subclasses with the validation logic, adding
# errors to the records +errors+ array where necessary.
def validate_each(record, attribute, value)
raise NotImplementedError