Problem with Dragonfly gem

Anyone work or know about gem dragonfly ? I use this for photo upload in a web app. My problem is Dragonfly does not delete the files it created in tmp dir. All time, when i fetch some file, it create one tempfile (dragonfly_2010…). No one clean up this files after Dragonfly finish.

Is there any config options that can avoid this? Is there any way not save the TempObject on disk?

When you’re configuring dragonfly try something like this:

app.configure_with(:imagemagick, :use_filesystem => false)