Re: [RDBO] Having trouble making tables_are_singular work

2008-02-07 Thread John Siracusa
On 2/6/08 5:12 PM, Ben Tilly wrote: > Here is some non-working code: > > my $class = "ReportHistory::Installation"; > no strict 'refs'; > @{"$class\::ISA"} = 'ReportHistory::Object'; > > $class->meta->convention_manager->tables_are_singular(1); > $class->meta->auto_initialize(); > prin

[RDBO] Having trouble making tables_are_singular work

2008-02-06 Thread Ben Tilly
So I'm trying to get Rose::DB::Object set up. I have my database class. I have my tables. I have my base object class. I would like to generate all of my specific classes. Rose::DB::Object wants to have plural table names. I have singular table names. But that is supposed to be configurable.