Am 19.07.2009 um 13:28 schrieb Octavian Râşniţă:

In Catalyst::Manual::Tutorial::04_BasicCRUD.pod I read that we need to specify the ResultSet classes we want to use with:

__PACKAGE__->resultset_class('MyApp::Schema::ResultSet::Book');

I've seen that it works even without it. Is this line really needed?

This works because you are using load_namespace in your schema definition. But there are components around which set the resultset class to a different one. Thus you might need to set the resultset class explicitly.

moritz
_______________________________________________
List: [email protected]
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/

Reply via email to