diff options
Diffstat (limited to 'activemodel/test/models/person_with_validator.rb')
-rw-r--r-- | activemodel/test/models/person_with_validator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/models/person_with_validator.rb b/activemodel/test/models/person_with_validator.rb index f9763ea853..f6f665ccee 100644 --- a/activemodel/test/models/person_with_validator.rb +++ b/activemodel/test/models/person_with_validator.rb @@ -1,6 +1,6 @@ class PersonWithValidator include ActiveModel::Validations - + class PresenceValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) record.errors[attribute] << "Local validator#{options[:custom]}" if value.blank? |