[Dbix-class] How to find updated fields
RA Jones
ra.jones at dpw.clara.co.uk
Fri Mar 23 11:06:36 GMT 2007
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
More information about the Dbix-class
mailing list