app/models/email.rb
# required for both offer and orga mailer
required for both offer and orga mailer
required for both offer and orga mailer
def vague_contact_title?
    contact_person = contact_people.first
    contact_people.count > 1 || !contact_person.gender ||
      (!contact_person.last_name? && !contact_person.first_name?)
  end
def vague_contact_title? contact_person = contact_people . first contact_people . count > 1 || ! contact_person . gender || ( ! contact_person . last_name? && ! contact_person . first_name? ) end
required for both offer and orga mailer
required for both offer and orga mailer