From 7ecc1c4f218eb53a7699bff95a631e440de329a6 Mon Sep 17 00:00:00 2001 From: Tom Hughes Date: Fri, 15 Jun 2007 11:28:58 +0000 Subject: [PATCH] Fix rm call to actually work... --- app/models/trace.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/models/trace.rb b/app/models/trace.rb index eccd3af1f..97dcf9635 100644 --- a/app/models/trace.rb +++ b/app/models/trace.rb @@ -12,7 +12,9 @@ class Trace < ActiveRecord::Base def destroy super - FileUtils.rm_f(trace_name, icon_picture_name, large_picture_name) + FileUtils.rm_f(trace_name) + FileUtils.rm_f(icon_picture_name) + FileUtils.rm_f(large_picture_name) end def tagstring -- 2.43.2