app/models/applications/application_for_offering.rb
# Returns true if all mentor letters have been received
Returns true if all mentor letters have been received
Returns true if all mentor letters have been received
def all_mentor_letters_received?
    mentors.each do |m|
      return false if m.letter.nil?
    end
    true
  end
def all_mentor_letters_received? mentors . each do | m | return false if m . letter . nil? end true end
Returns true if all mentor letters have been received
Returns true if all mentor letters have been received