Module: HasManyEmails::ClassMethods
- Defined in:
- lib/has_many_emails/class_methods.rb
Instance Method Summary collapse
Instance Method Details
#find_by_email(email) ⇒ Object
6 7 8 |
# File 'lib/has_many_emails/class_methods.rb', line 6 def find_by_email( email ) address = HasManyEmails::EmailAddress.find_by_email( email.downcase ) and address.addressee end |