Re: [RDBO] Stale results from relationship accessors

2008-02-04 Thread Sam Tregar
On Feb 1, 2008 8:56 PM, Peter Karman <[EMAIL PROTECTED]> wrote: > Wonder if something like this would make a useful Helper: > > sub forget { > my $self = shift; > my $accessor = shift or croak "need accessor name"; > $self->$accessor( undef ); > } > I like that a lot. I think I'

Re: [RDBO] RDBO and computed columns

2008-02-04 Thread John Siracusa
On Feb 4, 2008 3:51 PM, Grzegorz Nosek <[EMAIL PROTECTED]> wrote: > Test case attached. It's weird. Help! ;) Not so weird: it was a simple bug in the boolean method maker. It's fixed in SVN now. I'll work on the column name qualification option. -John --

Re: [RDBO] RDBO and computed columns

2008-02-04 Thread John Siracusa
On Feb 4, 2008 4:05 PM, John Siracusa <[EMAIL PROTECTED]> wrote: > On Feb 4, 2008 3:51 PM, Grzegorz Nosek <[EMAIL PROTECTED]> wrote: > > Functions taking rows as arguments may be used like extra table columns > > only when qualified with a table alias. > > Can you use an alternate "normal" function

Re: [RDBO] RDBO and computed columns

2008-02-04 Thread John Siracusa
On Feb 4, 2008 3:51 PM, Grzegorz Nosek <[EMAIL PROTECTED]> wrote: > Functions taking rows as arguments may be used like extra table columns > only when qualified with a table alias. Can you use an alternate "normal" function call form as well? SELECT id, ..., is_even(...) FROM test; I'm not

Re: [RDBO] RDBO and computed columns

2008-02-04 Thread Grzegorz Nosek
Hi, On Sun, Feb 03, 2008 at 07:07:34PM -0500, John Siracusa wrote: > Sorry, actually I should have suggested on_load, but no matter because > something else is obviously wrong. Can you post a small > self-contained example including the table definitions and class > definitions? That's usually t

[RDBO] ANNOUNCE: Rose::DB::Object 0.7663 released

2008-02-04 Thread John Siracusa
More bug fixes that I didn't want to wait until the next major release. -John 0.7663 (02.04.2008) - John Siracusa <[EMAIL PROTECTED]> * Fixed a bug that caused delete_on_save method creation for foreign keys to fail in some circumstances. (Reported by Justin Ellison) * Fixed a bug