app/models/applications/application_for_offering.rb
# Returns true if at least one mentor letter has been received for this application.
Returns true if at least one mentor letter has been received for this application.
Returns true if at least one mentor letter has been received for this application .
def mentor_letter_received?
    letter_received = false
    mentors.each do |m|
      letter_received = true unless m.letter.nil?
    end
    return letter_received
  end
def mentor_letter_received? letter_received = false mentors . each do | m | letter_received = true unless m . letter . nil? end return letter_received end
Returns true if at least one mentor letter has been received for this application.
Returns true if at least one mentor letter has been received for this application .