Re: [RDBO] Short cut for setting map records data

2007-05-17 Thread John Siracusa
On 5/17/07, Derek Watson <[EMAIL PROTECTED]> wrote: > I have gone down a similar path before, > > http://www.mail-archive.com/rose-db-object@lists.sourceforge.net/msg01792.html Yeah, I was about to post that link. Thanks :) > When you need to manipulate the map records themselves, setup an > add

Re: [RDBO] Short cut for setting map records data

2007-05-17 Thread Derek Watson
I have gone down a similar path before, http://www.mail-archive.com/rose-db-object@lists.sourceforge.net/msg01792.html The short story is that a map_record is not designed to be manipulated, it's only there for convenience when fetching related objects from a many-to-many relationship call, such

[RDBO] Short cut for setting map records data

2007-05-17 Thread Wiggins d'Anconia
I'm fairly new to the "with_map_records" manager arg, and possibly this is already available but I couldn't find documentation or an easy way to achieve it. Is it possible to set fields of the mapping table during an "add" operation. For example: $company->add_users( { username => 'bob'