search for: questionnaireinputdata

Displaying 1 result from an estimated 1 matches for "questionnaireinputdata".

2006 Apr 26
0
Controller and Model Responsibilities
...in the tables storing the questionnaire input data. My first guess was that this functionality should be implemented in the questionnaire model class, as it is the models responsibility to keep itself in a proper state. However, I get an "uninitialized constant" error, when I try to call QuestionnaireInputData.new from within the Questionnaire model class. If I do the same from within the controller, and declare model :questionnaire_input_data then everything works fine. The problem is that in my opinion this pollutes controller code very much, apart from that, it''s simply not the controllers j...