app/controllers/questionnaires_controller.rb
def question_key_params(key)
    params_local = params
    params_local[:question_key] = params_local[:question][key]
    params_local.require(:question_key).permit(:txt, :weight, :questionnaire_id, :seq, :type, :size,
                                               :alternatives, :break_before, :max_label, :min_label)
  end
# Controller for Questionnaire objects
# A Questionnaire can be of several types (QuestionnaireType)
# Each Questionnaire contains zero or more questions (Question)
# Generally a questionnaire is associated with an assignment (Assignment)
Controller for Questionnaire objects
A Questionnaire can be of several types (QuestionnaireType)
Each Questionnaire contains zero or more questions (Question)
Generally a questionnaire is associated with an assignment (Assignment)
Controller for Questionnaire objects A Questionnaire can be of several types ( QuestionnaireType ) Each Questionnaire contains zero or more questions ( Question ) Generally a questionnaire is associated with an assignment ( Assignment )
def question_key_params(key)
    params_local = params
    params_local[:question_key] = params_local[:question][key]
    params_local.require(:question_key).permit(:txt, :weight, :questionnaire_id, :seq, :type, :size,
                                               :alternatives, :break_before, :max_label, :min_label)
  end
def question_key_params ( key ) params_local = params params_local [ :question_key ] = params_local [ :question ] [ key ] params_local . require ( :question_key ) . permit ( :txt , :weight , :questionnaire_id , :seq , :type , :size , :alternatives , :break_before , :max_label , :min_label ) end
Controller for Questionnaire objects
A Questionnaire can be of several types (QuestionnaireType)
Each Questionnaire contains zero or more questions (Question)
Generally a questionnaire is associated with an assignment (Assignment)
Controller for Questionnaire objects A Questionnaire can be of several types ( QuestionnaireType ) Each Questionnaire contains zero or more questions ( Question ) Generally a questionnaire is associated with an assignment ( Assignment )
key