Re: [Catalyst] Custom fields in a model

2009-01-21 Thread Matija Grabnar
Greg Coates wrote: I have a database table -- let's call it 'Contacts' that I'm accessing through a DBIx::Class model. This table has two fields called 'first_name' and 'last_name'. Could I get some suggestion on the best way to add code to the model (or the schema) to allow me to add a

Re: [Catalyst] Custom fields in a model

2009-01-21 Thread Tobias Kremer
On 21.01.2009, at 19:24, Greg Coates wrote: Could I get some suggestion on the best way to add code to the model (or the schema) to allow me to add a custom field to the resultset without having an actual column in the database table? I want to Just add them as methods to your