In Tutorial (BTW, "CRUD" section of tutorial lacks U completely), I've seen this way of filling in the record:

   my $book = $c->model('GalleryDB::Gallery')->new({});

In InstantCRUD data is filled in with

my $item = $result->save_to_db();

Can anyone experienced tell me about drawbacks of both ways to do create?

List: Catalyst@lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
Dev site: http://dev.catalyst.perl.org/

Reply via email to