[html-formfu] Documentation issue with HTML::FormFu::Model::DBIC

Carl Franks fireartist at gmail.com
Thu Oct 2 13:07:46 BST 2008


2008/10/2 Nigel Metheringham <nigel.metheringham at dev.intechnology.co.uk>:
> Hi,
>
> I've found a documentation issue with the svn version of
> HTML::FormFu::Model::DBIC
>
> If you follow the example in the section (for has_many relationships)
> and call your delete marker "delete", then
>  $form->save_to_model($object);
>
> will call the delete method on each of the has_many objects.... with
> predictable (in hindsight - first I blew away chunks of my test db) results!

Yes - that was a particularly bad slip-up, as I've already documented
that you shouldn't name fields after DBIC row methods!

Thanks for offering to fix it - I've added you to svn commit - make
sure you switch from the HTTP to the HTTPS url before trying to
commit.

Cheers,
Carl



More information about the HTML-FormFu mailing list