From: Alexandre Hudelot Date: 2006-08-27T20:54:49+09:00 Subject: Re: Referencing an object through it's id string. Thanks for the information! David Vallner wrote: > Alexandre Hudelot wrote: >> Hello, how does one set a pointer to foo using an id string obtained >> through foo.object_id for instance? >> >> Thanks in advance >> > > Considering that object ids are only valid throughout one interpreter > run... I'm curious: why pass around the object id instead of the object > itself? > > David Vallner I'm having trouble passing an object reference from a template (a form) to a controller method, what I've managed to return is the object's id string. I'm guessing there's a better way of doing this? -- Posted via http://www.ruby-forum.com/.