Class: Interview
- Inherits:
-
ActiveRecordShared
- Object
- ActiveRecord::Base
- ActiveRecordShared
- Interview
- Defined in:
- app/models/interview.rb
Overview
requires
* address_id * interviewer_id * study_subject_id
Instance Method Summary collapse
-
#respondent_full_name ⇒ Object
Returns string containing respondent’s first and last name.
-
#study_subject ⇒ Object
why is this here? Homex for assigning interview outcome.
Instance Method Details
#respondent_full_name ⇒ Object
Returns string containing respondent’s first and last name
60 61 62 |
# File 'app/models/interview.rb', line 60 def respondent_full_name [respondent_first_name, respondent_last_name].compact.join(' ') end |
#study_subject ⇒ Object
why is this here? Homex for assigning interview outcome
12 |
# File 'app/models/interview.rb', line 12 accepts_nested_attributes_for :study_subject |