diff options
author | Alexey Mahotkin <squadette@gmail.com> | 2010-09-16 17:10:36 +0400 |
---|---|---|
committer | Alexey Mahotkin <squadette@gmail.com> | 2010-09-16 17:10:36 +0400 |
commit | dfebdb1b033c033b7a39615a39d9d4ac3052e61d (patch) | |
tree | b4b3fa7c7927f0132789cb875ff001710f085499 /activemodel/lib | |
parent | 6f3ac42550ed6780427e723de61f351537d582bf (diff) | |
download | rails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.tar.gz rails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.tar.bz2 rails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.zip |
Tiny fixes to rdoc
Diffstat (limited to 'activemodel/lib')
-rw-r--r-- | activemodel/lib/active_model/validator.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activemodel/lib/active_model/validator.rb b/activemodel/lib/active_model/validator.rb index 1262d305d1..0168233fce 100644 --- a/activemodel/lib/active_model/validator.rb +++ b/activemodel/lib/active_model/validator.rb @@ -7,7 +7,7 @@ module ActiveModel #:nodoc: # == Active Model Validator # # A simple base class that can be used along with - # +ActiveModel::Validations::ClassMethods.validates_with+ + # ActiveModel::Validations::ClassMethods.validates_with # # class Person # include ActiveModel::Validations @@ -42,7 +42,7 @@ module ActiveModel #:nodoc: # end # end # - # To cause a validation error, you must add to the <tt>record<tt>'s errors directly + # To cause a validation error, you must add to the <tt>record</tt>'s errors directly # from within the validators message # # class MyValidator < ActiveModel::Validator |