What does attachment_fu do when saving?

Sam Kong
Sun, 23 May 2010 06:58:12 -0000

Hi,

I have a model with attachment_fu.
The model saves images but I didn''t put validates_as_attachment.

I understand that it takes long time to create an object as it has to
process images.
But I don''t understand why it takes long time to update the object (not
changing file but only modify other non-attachment_fu attributes).
If I do object.save(false), it doesn''t take long time.

So my question is...
What''s the difference between object.save and object.save(false) when
the object is attachment_fu model and there''s no validation?

Thanks.

Sam
--
Posted via http://www.ruby-forum.com/.

--
You received this message because you are subscribed to the Google Groups
"Ruby on Rails: Talk" group.
To post to this group, send email to
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at