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

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -