app/controllers/form_questions_controller.rb
# Only allow a trusted parameter "white list" through.
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .
def form_question_params
      params.require(:form_question).permit(
        :kind,
        :text,
        :order,
        :form_id,
        :options => [[ :id, :value, :text, :order, :is_new ]]
      )
    end
def form_question_params params . require ( :form_question ) . permit ( :kind , :text , :order , :form_id , :options => [ [ :id , :value , :text , :order , :is_new ] ] ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .