diff options
author | Vijay Dev <vijaydev.cse@gmail.com> | 2015-01-03 14:58:17 +0000 |
---|---|---|
committer | Vijay Dev <vijaydev.cse@gmail.com> | 2015-01-03 14:58:17 +0000 |
commit | 4b9dba99d65b1bd27576b16a68d7d18522bae9ea (patch) | |
tree | 4672dd2377a4e4ef71992c5478f2606f5d86e371 /activemodel/lib/active_model/validations/absence.rb | |
parent | 02e72a49d1c99084fef2c78c3a194e03b879099d (diff) | |
parent | 7cc145ec65167084e8b05d9462eaf94534fa0168 (diff) | |
download | rails-4b9dba99d65b1bd27576b16a68d7d18522bae9ea.tar.gz rails-4b9dba99d65b1bd27576b16a68d7d18522bae9ea.tar.bz2 rails-4b9dba99d65b1bd27576b16a68d7d18522bae9ea.zip |
Merge branch 'master' of github.com:rails/docrails
Diffstat (limited to 'activemodel/lib/active_model/validations/absence.rb')
-rw-r--r-- | activemodel/lib/active_model/validations/absence.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/lib/active_model/validations/absence.rb b/activemodel/lib/active_model/validations/absence.rb index 9b5416fb1d..75bf655578 100644 --- a/activemodel/lib/active_model/validations/absence.rb +++ b/activemodel/lib/active_model/validations/absence.rb @@ -1,6 +1,6 @@ module ActiveModel module Validations - # == Active Model Absence Validator + # == \Active \Model Absence Validator class AbsenceValidator < EachValidator #:nodoc: def validate_each(record, attr_name, value) record.errors.add(attr_name, :present, options) if value.present? |