Re: [RDBO] redundant rows from queries with multiple one tomanyrelationships

2008-02-01 Thread James Masters
Dear Juston, Yes, the tutorial does explain it, after all and now I understand. Sorry, I missed it when looking before. cheers, James. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Justin Ellison Sent: 31 January 2008 14:12 To: Rose::DB::Object list

Re: [RDBO] Loader failure on MySQL foreign key

2008-02-01 Thread John Siracusa
On Feb 1, 2008 3:37 PM, Justin Ellison [EMAIL PROTECTED] wrote: I was just tinkering with the loader, and might have found a bug. This should be fixed in SVN now. It was actually a method-maker bug, not a Loader bug. The Loader just happened to trigger it. Try it and let me know. I'll

Re: [RDBO] Stale results from relationship accessors

2008-02-01 Thread John Siracusa
On Feb 1, 2008 4:49 PM, Sam Tregar [EMAIL PROTECTED] wrote: But without the reload subscribed_lists() keeps returning the old list. Is there a way to tip off Rose that any cached lists for a particular relationship are stale? Or something I'm doing wrong? All get_set* relationship accessors

[RDBO] Nested objects and Weaken

2008-02-01 Thread Bill Moseley
This is mostly a Perl question, I suspect. I have a Rose::Object that represents a collection of files. Call it a Collection. Now, one of the attributes of a Collection is an array called files. That array holds info about individual files as Collection::File objects. First, a

Re: [RDBO] Stale results from relationship accessors

2008-02-01 Thread Sam Tregar
On Feb 1, 2008 5:50 PM, John Siracusa [EMAIL PROTECTED] wrote: To make an object forget a previously fetched set, just set it to undef: Cool, that works for me. Thanks! -sam - This SF.net email is sponsored by: Microsoft

Re: [RDBO] Stale results from relationship accessors

2008-02-01 Thread Peter Karman
John Siracusa wrote on 2/1/08 4:50 PM: On Feb 1, 2008 4:49 PM, Sam Tregar [EMAIL PROTECTED] wrote: But without the reload subscribed_lists() keeps returning the old list. Is there a way to tip off Rose that any cached lists for a particular relationship are stale? Or something I'm doing

Re: [RDBO] Loader failure on MySQL foreign key

2008-02-01 Thread Justin Ellison
On Feb 1, 2008 3:32 PM, John Siracusa [EMAIL PROTECTED] wrote: This should be fixed in SVN now. It was actually a method-maker bug, not a Loader bug. The Loader just happened to trigger it. Try it and let me know. I'll probably send this fix out as 0.7663 if it works for you. That did the