app/controllers/forms_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_params
      params.require(:form).permit(
        :group_manager_id,
        :questions => [[
          :id,
          :kind,
          :text,
          :order,
          :options => [[ :value, :text, :order ]]
        ]],
      )
    end
def form_params params . require ( :form ) . permit ( :group_manager_id , :questions => [ [ :id , :kind , :text , :order , :options => [ [ :value , :text , :order ] ] ] ] , ) end
Only allow a trusted parameter "white list" through.
Only allow a trusted parameter " white list " through .