aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/lib/active_model
diff options
context:
space:
mode:
authorAlexey Mahotkin <squadette@gmail.com>2010-09-16 17:10:36 +0400
committerAlexey Mahotkin <squadette@gmail.com>2010-09-16 17:10:36 +0400
commitdfebdb1b033c033b7a39615a39d9d4ac3052e61d (patch)
treeb4b3fa7c7927f0132789cb875ff001710f085499 /activemodel/lib/active_model
parent6f3ac42550ed6780427e723de61f351537d582bf (diff)
downloadrails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.tar.gz
rails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.tar.bz2
rails-dfebdb1b033c033b7a39615a39d9d4ac3052e61d.zip
Tiny fixes to rdoc
Diffstat (limited to 'activemodel/lib/active_model')
-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 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