public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Homepage: http://wiki.github.com/Squeegy/fleximage
Clone URL: git://github.com/Squeegy/fleximage.git
Fixed failing test.  Thanks jlsync!
Squeegy (author)
Thu May 29 16:15:21 -0700 2008
commit  888e17dd88d33f6229c76b4ae99394cf7a5d33d2
tree    dbde772a84f7679bd258d1be701e618eafc92b7b
parent  9c9d311418e8721a94ca85b673dd856265e2ef44
...
357
358
359
360
 
361
362
363
...
357
358
359
 
360
361
362
363
0
@@ -357,7 +357,7 @@ module Fleximage
0
       # Delete the image file for this record. This is automatically ran after this record gets 
0
       # destroyed, but you can call it manually if you want to remove the image from the record.
0
       def delete_image_file
0
-        File.delete(file_path) if (!self.class.db_store? && File.exists?(file_path))
0
+        File.delete(file_path) if !self.class.db_store? && File.exists?(file_path)
0
       end
0
       
0
       # Execute image presence and validity validations.

Comments