I typically either do all the changes at once using update_attributes
() or I'll assign changes directly to attributes conditionally as I'm
checking various things, then do a save at the end of a loop. I don't
think I've ever used update() in production, only when messing around;
*I* think that direct assignment to an attribute is easier to read
than using update().

That's my $0.02.

Greg

On Aug 16, 7:55 am, Ashley Moran <[email protected]>
wrote:

> Can anyone describe a situation where #update is useful?  I ask  
> because I've never found one, which may be because I work almost  
> entirely on web apps.
>
> Ashley


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to