Re: [html-formfu] $form->model->create error

2009-01-12 Thread Octavian Rasnita
Hi Carl, From: "Carl Franks" 2009/1/12 Octavian Rasnita : Hello, In a Catalyst Controller I've tried to create a new row using: $form->model->create({hash => $hash}); I normally call $form->model->create() without any args. If you provide an argument, it should just be interpreted as a has

Re: [html-formfu] $form->model->create error

2009-01-12 Thread Carl Franks
2009/1/12 Octavian Rasnita : > Hello, > > In a Catalyst Controller I've tried to create a new row using: > > $form->model->create({hash => $hash}); I normally call $form->model->create() without any args. If you provide an argument, it should just be interpreted as a hash-ref of attributes to modi

[html-formfu] $form->model->create error

2009-01-12 Thread Octavian Rasnita
Hello, In a Catalyst Controller I've tried to create a new row using: $form->model->create({hash => $hash}); In MyApp.pm I have: __PACKAGE__->config( 'Controller::HTML::FormFu' => { model_stash => { schema => 'DB', }, } ); In the form's configuration I have: resultset TempUser