diff options
author | Xavier Noria <fxn@hashref.com> | 2010-09-23 22:35:08 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2010-09-23 22:35:08 +0200 |
commit | 8c0c815ba711c439cbc4d295c423d5d6ab0bb848 (patch) | |
tree | 46ebc98a50a631a8962cb48505f75454cd8f24f1 /activemodel/lib/active_model | |
parent | afdf86e8ee7c64915515e7ad8930efd858fceb43 (diff) | |
parent | 5965219ca2230dc46cff2feace19d83b7493f440 (diff) | |
download | rails-8c0c815ba711c439cbc4d295c423d5d6ab0bb848.tar.gz rails-8c0c815ba711c439cbc4d295c423d5d6ab0bb848.tar.bz2 rails-8c0c815ba711c439cbc4d295c423d5d6ab0bb848.zip |
resolves rdoc conflict
Diffstat (limited to 'activemodel/lib/active_model')
-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 |