[Catalyst] Some guidance needed please
simonw at digitalcraftsmen.net
Thu Sep 13 17:50:21 GMT 2007
Matt S Trout wrote:
> On Thu, Sep 13, 2007 at 03:14:58PM +0100, Ian Docherty wrote:
>> Almost, if I do my $used_password =
>> it works. So that should do for now, thanks Simon and Will for your help ;)
> No. Don't do that.
> Really don't.
> It's utterly broken.
Thanks. I'm not as familiar with the interaction of DBIx::Class and
Catalyst::Model::* as you are (obviously, I didn't write 'em :) but from
Return Value: $result_class
An accessor for the class to use when creating row objects.
to result_source->result_class - which in most cases is the name of
the "table" class.
This seems to be the right behaviour to me. Can you summarise why it is
Yet over here:
Shortcut for ->schema->class
So would the original be better written as:
$c->model('DBIC::UsedPassword')->class->create_limited(); # ?
If it's not this then the docs are really confusing and I'd really
appreciate it if you could provide the correct usage or approach for
More information about the Catalyst