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(); > print $class->meta->perl_class_definition(indent => 2); > > This gives me an error because it can't find the table installations. > But didn't I just tell it that tables are singular? I can get around > this by setting the table name explicitly, but I'd like to know why > the above didn't work.
You did everything right. It was a bug, fixed now in SVN. Thanks for the report. -John ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object