[Dbix-class] new() and initialize()
Vsevolod (Simon) Ilyushchenko
simonf at cshl.edu
Thu Dec 1 01:28:12 CET 2005
Hi,
I've upgraded to 0.04, but the problem with new() and initialize() that
I had persists. I though that by putting my model superclass in the
begininng of ISA, I'd be able to override new() to perform
class-specific initialization.
However, when relationships are followed, new instances are blessed in
DBIx::Class::Row::_row_to_object - new() is never called! I can probably
override this method, but that would we *wrong*. What else can I do?
Thanks,
Simon
--
Simon (Vsevolod ILyushchenko) simonf at cshl.edu
http://www.simonf.com
"Think like a man of action, act like a man of thought."
Henri Bergson
More information about the Dbix-class
mailing list