[jifty-devel] Jifty::DBI::Collection - bug in new_alias

bart bunting bart at bunting.net.au
Thu Mar 23 17:53:55 EST 2006


G'day,

There appears to be a bug when calling new_alias on collection
objects:

The following doesn't work.

 my $products = $productCats->new_alias (BestBuds::Model::ProductCollection->table );

A work around for the moment is to enstansiate a collection object
before calling table on it:

 my $products = $productCats->new_alias (BestBuds::Model::ProductCollection->new->table );

Bart


More information about the jifty-devel mailing list