Skip to content

Instantly share code, notes, and snippets.

@notch8-old
Created August 4, 2011 04:50
Show Gist options
  • Select an option

  • Save notch8-old/1124525 to your computer and use it in GitHub Desktop.

Select an option

Save notch8-old/1124525 to your computer and use it in GitHub Desktop.
def summary_string(language_type)
incident_type_name = self.translated(:incident_type, language_type, self.incident_type)
if self.event_participant.participant
event_participant_name = self.translated(:participant, language_type, self.event_participant.participant)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment