Re: [RDBO] Using make_modules, inheritance, & relationships

2007-02-09 Thread Bryan Opfer
I just realized I am doing things backwards. Please disregard my problem. -Bryan Bryan Opfer wrote: > I am trying to set up a system where I can use use > Rose::DB::Object::Loader to auto make my modules any time I make a > schema change. Then I can have manually created classes that use the

Re: [RDBO] Using make_modules, inheritance, & relationships

2007-02-09 Thread Bryan Opfer
Opps, I had a typo in the base for My::Foo. It would look like this: package My::Foo; use strict; use base qw(My::DB::Foo); # class and instance methods here... 1; Bryan Opfer wrote: > I am trying to set up a system where I can use use > Rose::DB::Object::Loader to auto make my modules

[RDBO] Using make_modules, inheritance, & relationships

2007-02-09 Thread Bryan Opfer
I am trying to set up a system where I can use use Rose::DB::Object::Loader to auto make my modules any time I make a schema change. Then I can have manually created classes that use the auto-generated classes as their base. But, I am running into a problem with the relationships. Here is a

Re: [RDBO] idea for new object manager functionality

2007-02-09 Thread Jonathan Vanasco
On Feb 9, 2007, at 9:49 AM, John Siracusa wrote: > This is a fine idea, but I think the correct approach is to make a new > Manager class that uses the existing Manager class internally. That's > a lot cleaner than trying to further augment the existing Manager. This was ridiculously easy to im

Re: [RDBO] idea for new object manager functionality

2007-02-09 Thread Ted Zlatanov
On Thu, 8 Feb 2007 23:16:24 -0500 Jonathan Vanasco <[EMAIL PROTECTED]> wrote: JV> I've been doing a lot of repetitive operations on the results from JV> manager functions lately. JV> Today I think I realized a functionality that might make sense -- if JV> the results returned by a manager ca

Re: [RDBO] idea for new object manager functionality

2007-02-09 Thread John Siracusa
On 2/8/07, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > Today I think I realized a functionality that might make sense -- if > the results returned by a manager call weren't simply an array, but a > class object. > > It would behave just as an array - there would be no real difference > in current

Re: [RDBO] timezone for magical 'now' value in datetime columns

2007-02-09 Thread John Siracusa
On 2/8/07, Ask Bjørn Hansen <[EMAIL PROTECTED]> wrote: >On 2/8/07, Michael Reece <[EMAIL PROTECTED]> wrote: >> i see that i can define the column as >> >>saved_on => { type => 'datetime', time_zone => 'America/New_York' } >> >> and get the right datetime value, but is there an easy way to >> in