[html-formfu] Modify a submitted value before storing it in thedatabase

Moritz Onken onken at houseofdesign.de
Fri Oct 10 09:44:26 BST 2008


Am 10.10.2008 um 09:19 schrieb Octavian Rasnita:

> Thank you for the suggestion. I have read the POD doc for  
> DBIx::Class::EncodedColumn and I will try to see if I can make it to  
> cooperate well with the Catalyst helper that create the DBIC classes.
>
> I have read that "Note: The component needs to be loaded before  
> Core.", so I don't know if I can make it work if I don't modify  
> what's above the "# DO NOT MODIFY THIS OR ANYTHING ABOVE"...
>
> Thank you.


You need to edit the column information and that is above the line
so it'll break the checksum.
I decided to use the helper for creating the schema once and every time
I want to change something in the database structure I do the change
in the DBIC schema and ->deploy that schema to the database.
It' just the other way round.


greets,

moritz



More information about the HTML-FormFu mailing list