app/controllers/instructions_controller.rb
# Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .
def instruction_params
    params
      .require(:instruction)
      .permit(:game_id, :command_id, :name, :parameters, :precedence)
  end
def instruction_params params . require ( :instruction ) . permit ( :game_id , :command_id , :name , :parameters , :precedence ) end
Never trust parameters from the scary internet, only allow the white list through.
Never trust parameters from the scary internet only allow the white list through .