[html-formfu] Re: refactoring defaults_from_model (DBIC)
Zbigniew Lukasiak
zzbbyy at gmail.com
Fri Jan 18 16:37:32 GMT 2008
On Jan 18, 2008 5:03 PM, Carl Franks <fireartist at gmail.com> wrote:
>
>
> I noticed that the refactor had reverted back to the old behaviour of
> always using get_column() - I've fixed that so that it uses
> $row->$name() accessors (when it doesn't clash with a rel name), and
> added tests to ensure that DBIC column inflators are being run.
Ah - I was actually thinking about that - but I forgot about the
inflators - sorry.
By the way in my code I've started to make sure that rels have
different names than columns - this way I can alway call
$row->$name().
Cheers,
Zbyszek
http://perlalchemy.blogspot.com/
More information about the HTML-FormFu
mailing list