app/models/applications/application_for_offering.rb
# Returns true if this student was awarded or not. Depending on the value of Offering#award_basis, this method
# checks either the #awarded_by_review_committee?, #awarded_by_interview_committee? or #awarded_by_final_committee?
# method to determine the value to return. If Offering#award_basis is blank, then we default to using the review committee.
Returns true if this student was awarded or not. Depending on the value of Offering#award_basis, this method
checks either the #awarded_by_review_committee?, #awarded_by_interview_committee.
Returns true if this student was awarded or not . Depending on the value of Offering#award_basis this method checks either the #awarded_by_review_committee? #awarded_by_interview_committee .
def awarded?
    return false if declined?
    case offering.award_basis
    when "review"     then awarded_by_review_committee?
    when "interview"  then awarded_by_interview_committee?
    when "final"      then awarded_by_final_committee?
    else awarded_by_review_committee?
    end
  end
def awarded? return false if declined? case offering . award_basis when "review" then awarded_by_review_committee? when "interview" then awarded_by_interview_committee? when "final" then awarded_by_final_committee? else awarded_by_review_committee? end end
Returns true if this student was awarded or not.
Returns true if this student was awarded or not .