Dear Catalyst developers -
Attached is a patch that updates Catalyst::Manual::Tutorial::AdvancedCRUD::FormFu. I had noticed that both
-Del
p.s. - Apologies in advance for the HTML email; I think that otherwise Thunderbird, my MUA, will inline the patch instead of marking it as an attachment.
Attached is a patch that updates Catalyst::Manual::Tutorial::AdvancedCRUD::FormFu. I had noticed that both
$form->save_to_model($book) andgenerated warnings, and that alternatives should be used. E.g.:
$form->defaults_from_model($book)
save_to_model() method deprecated and is provided for compatibility only, and will be removed: use $form->model->update() insteadI think the patch to the POD reflects the preferred usage. My local tests suggest that it works, but I am still a Catalyst (and FormFu) newbie.
-Del
p.s. - Apologies in advance for the HTML email; I think that otherwise Thunderbird, my MUA, will inline the patch instead of marking it as an attachment.