From dfebdb1b033c033b7a39615a39d9d4ac3052e61d Mon Sep 17 00:00:00 2001 From: Alexey Mahotkin Date: Thu, 16 Sep 2010 17:10:36 +0400 Subject: Tiny fixes to rdoc --- activemodel/lib/active_model/validator.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activemodel/lib/active_model') 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 record's errors directly + # To cause a validation error, you must add to the record's errors directly # from within the validators message # # class MyValidator < ActiveModel::Validator -- cgit v1.2.3