Module: ActiveModel::Validations::ClassMethods
- Defined in:
- lib/rails3/validates_email_whitelist_of.rb
Instance Method Summary collapse
- #validates_email_blacklist_of(*attr_names) ⇒ Object
- #validates_email_whitelist_of(*attr_names) ⇒ Object
Instance Method Details
#validates_email_blacklist_of(*attr_names) ⇒ Object
24 25 26 |
# File 'lib/rails3/validates_email_whitelist_of.rb', line 24 def validates_email_blacklist_of(*attr_names) validates_with EmailWhitelistValidator, _merge_attributes(attr_names) end |
#validates_email_whitelist_of(*attr_names) ⇒ Object
20 21 22 |
# File 'lib/rails3/validates_email_whitelist_of.rb', line 20 def validates_email_whitelist_of(*attr_names) validates_with EmailWhitelistValidator, _merge_attributes(attr_names) end |