diff options
author | Oscar Del Ben <info@oscardelben.com> | 2012-04-26 10:34:51 +0200 |
---|---|---|
committer | Oscar Del Ben <info@oscardelben.com> | 2012-04-26 10:34:51 +0200 |
commit | 8c1633328699cc00b1b8a893bffa6390c2cdfcc0 (patch) | |
tree | f69c3b7cddd4b9a76e90c130095fd3908e932427 /activemodel/lib/active_model/validations | |
parent | 26353b993b3bfb52d6c4adb92b6aa08d9712fd06 (diff) | |
download | rails-8c1633328699cc00b1b8a893bffa6390c2cdfcc0.tar.gz rails-8c1633328699cc00b1b8a893bffa6390c2cdfcc0.tar.bz2 rails-8c1633328699cc00b1b8a893bffa6390c2cdfcc0.zip |
minor docs improvements
Diffstat (limited to 'activemodel/lib/active_model/validations')
-rw-r--r-- | activemodel/lib/active_model/validations/with.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/activemodel/lib/active_model/validations/with.rb b/activemodel/lib/active_model/validations/with.rb index 72b8562b93..991c5f7b82 100644 --- a/activemodel/lib/active_model/validations/with.rb +++ b/activemodel/lib/active_model/validations/with.rb @@ -126,12 +126,12 @@ module ActiveModel # end # # Standard configuration options (:on, :if and :unless), which are - # available on the class version of validates_with, should instead be - # placed on the <tt>validates</tt> method as these are applied and tested + # available on the class version of +validates_with+, should instead be + # placed on the +validates+ method as these are applied and tested # in the callback # # If you pass any additional configuration options, they will be passed - # to the class and available as <tt>options</tt>, please refer to the + # to the class and available as +options+, please refer to the # class version of this method for more information # def validates_with(*args, &block) |