Before_thumbnail_saved - attachment_fu helper does not work


I have added these lines in my model, but it does not work.

before_thumbnail_saved do |record, thumbnail|

It keeps the filenames as if they were not touched.

Basically I want to store the full image path in the database table.


You should probably post this question to the attachment_fu Google
Group instead of the general Rails group:

That being said, I’m seeing the same issue with Rails 2.1 and the most
recent version of attachment_fu, pulled from Subversion (revision
3183). The after_resize callback is working fine, but the
before_thumbnail_saved callback doesn’t appear to be called, at all.


This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs