Attachment_fu problems on updates

Hello, i having troubles when try replace existing file for new, get the same error... some one can help?

Daniel Lopes wrote:

Hello, i having troubles when try replace existing file for new, get the same error... some one can help?

The problem for me was that I was missing the unless params[:photo].nil? condition in the create method, which messed up the data when trying to do the update.

If that doesn't help you out at all, post some of your code so we can take a look at it.

Thanks Chris, i post my question and code in another post in this link, http://groups.google.de/group/rubyonrails-talk/browse_thread/thread/f2510dfd535ebaf0