app/controllers/notifications_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 notification_params
    params.require(:notification).permit(
      :title,
      :body,
      :url,
      :send,
      :scheduled_for
    )
  end
def notification_params params . require ( :notification ) . permit ( :title , :body , :url , :send , :scheduled_for ) 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 .