Class: Interview

Inherits:
ActiveRecordShared show all
Defined in:
app/models/interview.rb

Overview

requires

* address_id * interviewer_id * study_subject_id

Instance Method Summary collapse

Instance Method Details

#respondent_full_nameObject

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_subjectObject

why is this here? Homex for assigning interview outcome



12
# File 'app/models/interview.rb', line 12

accepts_nested_attributes_for :study_subject