app/models/applications/application_for_offering.rb
def application_category_title
    return "" if application_category.nil?
    return application_category.title unless application_category.other_option?
    return "#{application_category.title}: #{other_category_title}" unless other_category_title.blank?
    return application_category.title unless application_category.nil?
    ""
  end
# Returns the application category or a blank string if one is not set. If there is an associated application_category, then we
# use the title from that record. Otherwise, we check the +other_category_title+ and return it.
Returns the application category or a blank string if one is not set. If there is an associated application_category, then we
use the title from that record. Otherwise, we check the +other_category_title+ and return it.
Returns the application category or a blank string if one is not set . If there is an associated application_category then we use the title from that record . Otherwise we check the + other_category_title + and return it .
def application_category_title
    return "" if application_category.nil?
    return application_category.title unless application_category.other_option?
    return "#{application_category.title}: #{other_category_title}" unless other_category_title.blank?
    return application_category.title unless application_category.nil?
    ""
  end
def application_category_title return "" if application_category . nil? return application_category . title unless application_category . other_option? return "#{application_category.title}: #{other_category_title}" unless other_category_title . blank? return application_category . title unless application_category . nil? "" end
Returns the application category or a blank string if one is not set.
Returns the application category or a blank string if one is not set .