Module: TextRecordsHelper

Defined in:
app/helpers/text_records_helper.rb

Overview

The TextRecordsHelper module.

Class Method Summary (collapse)

Class Method Details

+ (Object) gender_types

Return all valid gender types including their names.



7
8
9
# File 'app/helpers/text_records_helper.rb', line 7

def self.gender_types
  [[I18n.t("tag_gender_male"), 'm'], [I18n.t("tag_gender_female"), 'f']]
end