From 0f47a05adb11fbd9dfd0977780d2daa1e434c7c8 Mon Sep 17 00:00:00 2001 From: ch Date: Wed, 18 Aug 2010 20:40:34 +0200 Subject: cached predictions deleted --- application.rb | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'application.rb') diff --git a/application.rb b/application.rb index 1efa581..195dcaf 100644 --- a/application.rb +++ b/application.rb @@ -57,12 +57,7 @@ end delete '/?' do # TODO delete datasets Model.auto_migrate! - response['Content-Type'] = 'text/plain' - "All Models deleted." -end - -delete '/prediction?' do Prediction.auto_migrate! response['Content-Type'] = 'text/plain' - "All datasets deleted." + "All models and cached predictions deleted." end -- cgit v1.2.3