Re: [Catalyst] Tutorial woes.

2011-08-11 Thread Darius Jokilehto
On 11/08/11 00:06, Roderick A. Anderson wrote: I can't find where my error is while doing the tutorial. [snip] Here are the results of a recursive grep starting at MyApp looking for role_id. lib/MyApp/Schema/Result/User.pm:110:__PACKAGE__-many_to_many(roles = 'user_roles', 'role_id');

Re: [Catalyst] Model Instances vs. Model Classes - Round 2

2011-08-02 Thread Darius Jokilehto
On 20/07/11 15:00, Alejandro Imass wrote: The Catalyst Wiki seems to be having some problems so i posted it on PM as well: http://www.perlmonks.org/?node_id=915657 In your first example, $c-model('Models::People')-all() and $c-model('Models')-schema-resultset('People'); are not

Re: [Catalyst] Model Instances vs. Model Classes - Round 2

2011-08-02 Thread Darius Jokilehto
On 02/08/11 11:45, Darius Jokilehto wrote: are not (necessarily) equivalent. The former always returns an array, the latter only in array context. Oops, *list* context NET-A-PORTER.COM Irresistible fashion at your fingertips

Re: [Catalyst] Chaining on complex PathParts

2009-01-06 Thread Darius Jokilehto
On Tue, Jan 06, 2009 at 12:36:05PM -0500, Eric Wright wrote: Hiya folks, I just started playing around with chaining and it's very cool. However, I'm encountering difficulty with getting something to work the way I want where I have different actions at different path depths. Is there