app/controllers/advancement_histories_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 advancement_history_params
    params.require(:advancement_history).permit(
      :robot_code, :advancement_case, :decline, :memo
    )
  end
def advancement_history_params params . require ( :advancement_history ) . permit ( :robot_code , :advancement_case , :decline , :memo ) 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 .