> __PACKAGE__->meta->auto_initialize; > __PACKAGE__->meta->relationships( > product_details => { > type => 'one to many', > class => 't::ProductDetail', > column_map => { id => 'product_id' }, > } > );
In your case you are initializing before setting up your relationships. If you move your auto_initialize after the relationships call, then it should work fine. -Cory ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Rose-db-object mailing list Rose-db-object@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rose-db-object