diff options
author | ch <ch@toxcreate.in-silico.ch> | 2010-05-28 12:24:12 +0200 |
---|---|---|
committer | ch <ch@toxcreate.in-silico.ch> | 2010-05-28 12:24:12 +0200 |
commit | 8d570c40e61725b81c731f450522d91aea7eeeed (patch) | |
tree | 1796d61d85550dc2faed6ed000a74c3bb8fd643f | |
parent | 5916957591f1c6adba4c3051f38041b91f8d292a (diff) |
catching error during saving prediction dataset
-rw-r--r-- | application.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/application.rb b/application.rb index 01dab76..23808e4 100644 --- a/application.rb +++ b/application.rb @@ -165,6 +165,7 @@ end delete '/?' do +=begin Dataset.all.each do |d| begin File.delete d.file @@ -173,6 +174,7 @@ delete '/?' do end #d.destroy! end +=end Dataset.auto_migrate! response['Content-Type'] = 'text/plain' "All datasets deleted." |