[Boulder Ruby Group] ar save! problem

Tony Arcieri tony at clickcaster.com
Wed Jul 11 22:42:07 EDT 2007


What's the #update instance method supposed to do?

Are you wanting to preserve @model as it exists after calling #save! /
#update?  Otherwise you might consider #reload

-- 
Tony Arcieri
ClickCaster, Inc.
tony at clickcaster.com

On 7/11/07, ara.t.howard <ara.t.howard at gmail.com> wrote:
>
>
> On Jul 11, 2007, at 6:40 PM, Tony Arcieri wrote:
>
> There's a #update instance method?  I'm looking at the ActiveRecord::Base
> docs and I don't see it documented there.  Just trying it out here it
> returns the primary key of the record, and the sequence you describe seems
> to be working fine.
>
>
> yeah - it works __most__ of the time for me. then sometimes not.  very
> weird.
>
> -a
> --
> we can deny everything, except that we have the possibility of being
> better. simply reflect on that.
> h.h. the 14th dalai lama
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://rubyforge.org/pipermail/bdrg-members/attachments/20070711/4e34a99f/attachment.html 


More information about the Bdrg-members mailing list