RA Jones wrote:
Well I cannot get this to work. I'm using catalyst and formbuilder, and
doing the update like:
$form->update($fields);
Just to clarify that a bit. $form is misleading, and should have read:
my $fields = $self->formbuilder->field;
my $form = $c->model('Schema::Whatever')->find($id);
$form->update($fields);
--
Richard Jones
Leeds, UK
ra.jones(at)dpw.clara.co.uk
_______________________________________________
List: http://lists.rawmode.org/cgi-bin/mailman/listinfo/dbix-class
Wiki: http://dbix-class.shadowcatsystems.co.uk/
IRC: irc.perl.org#dbix-class
SVN: http://dev.catalyst.perl.org/repos/bast/trunk/DBIx-Class/
Searchable Archive: http://www.mail-archive.com/[email protected]/