Rails paperclip and update_attributes for model -
Rails paperclip and update_attributes for model -
as see in logs, when update_attributes model have attachment, no matter attribute refresh, total entry refreshed - example:
i have model user have fields:
-active -photo ( :thumb, :large, :org etc. styles paperclip)
when made @user.update_attributes(:active => true), takes long time because (as see in logs) photo refreshed paperclip , attachment recreated.
is normal behavior or have bug ?
this log update model id:
ruby-on-rails paperclip
Comments
Post a Comment