Displaying 1 result from an estimated 1 matches for "survey_result_id".
2006 Jun 30
0
Three ActiveRecord features we want at work - any comments/suggestions?
...ules (which you don''t want
to code into every query you write!), given any particular record you
can''t say why a certain bit of information is missing.
The solution I like is to store the optional information in two
satellite tables per attribute, eg:
SurveyResults_Name: { survey_result_id, name }
SurveyResults_Name_Missing: { survey_result_id, reason }
reason could be a id or a string, I haven''t decided which one I
prefer yet. (Reason could be pretty much anything - ''unknown'',
''not_provided'', ''deleted_data_protection_act...