Re: [Catalyst] Debugging DBIC inside a catalyst app

2006-06-22 Thread Ash Berlin
Kevin Old wrote: On 6/21/06, Eric W. Bates [EMAIL PROTECTED] wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have read in the new Catalyst/Manual/Tutorial/CatalystBasics.pod (the whole tutorial is very nice, btw) that you can invoke DBIC's debugging inside your code thusly:

Re: [Catalyst] TT2 list context and DBIx::Class resultsets: solved?

2006-06-22 Thread Mark Blythe
Hey, Template::Stash::Context is an interesting find. That would certainly solve the problem, even for situations other than DBIC result sets. The pod does state that it adds a little overhead to each stash call and that the TT author is a little wary of applying that to the core default stash

[Catalyst] C::P::PageCache patch for reducing duplicate processing

2006-06-22 Thread Toby Corkindale
Hi, There's a patch attached for Catalyst::Plugin::PageCache. (It's not final, but more a request for comments on it so far. In particular, some better way than using flock()) PageCache's objective is to let you cache pages that are heavy to create. However, the potential exists for a page to

Re: [Catalyst] C::P::PageCache patch for reducing duplicate processing

2006-06-22 Thread Matt S Trout
Toby Corkindale wrote: Hi, There's a patch attached for Catalyst::Plugin::PageCache. (It's not final, but more a request for comments on it so far. In particular, some better way than using flock()) Why not just use pid+tid and a cache key set/get to see if you're the one doing the building

Re: [Catalyst] C::P::PageCache patch for reducing duplicate processing

2006-06-22 Thread Wade . Stuart
[EMAIL PROTECTED] wrote on 06/22/2006 01:37:13 PM: Toby Corkindale wrote: Hi, There's a patch attached for Catalyst::Plugin::PageCache. (It's not final, but more a request for comments on it so far. In particular, some better way than using flock()) Why not just use pid+tid and

[Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Peter Traub
Hello,I'm a Catalyst newbie stuck on the tutorial with following problem. In the Users.pm file, the login function fails, as the call to $c-login() gets the following error: [Thu Jun 22 15:57:00 2006] [catalyst] [error] Caught exception Can't locate object method login via package tutorial at

Re: [Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Ash Berlin
Peter Traub wrote: Hello, I'm a Catalyst newbie stuck on the tutorial with following problem. In the Users.pm http://Users.pm file, the login function fails, as the call to $c-login() gets the following error: [Thu Jun 22 15:57:00 2006] [catalyst] [error] Caught exception Can't locate

Re: [Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Ash Berlin
Peter Traub wrote: Hi Ash, Thanks for the reply. I should've mentioned that the top of my app (tutorial.pm http://tutorial.pm) follows the tutorial directions to the letter, and thus has: use Catalyst qw/-Debug Static::Simple Authentication Authentication::Store::Minimal

Re: [Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Peter Traub
On 6/22/06, Ash Berlin [EMAIL PROTECTED] wrote: Peter Traub wrote: Hi Ash, Thanks for the reply. I should've mentioned that the top of my app (tutorial.pm http://tutorial.pm ) follows the tutorial directions to the letter, and thus has: use Catalyst qw/-Debug Static::Simple

Re: [Catalyst] C::P::PageCache patch for reducing duplicate processing

2006-06-22 Thread Perrin Harkins
On Thu, 2006-06-22 at 14:01 -0500, [EMAIL PROTECTED] wrote: Or have the first hit after the expire set the expire time counter to the next interval so the next hit does not even think to rebuild. Then you can also rebuild the cache to a temp name and overwrite the current cache when it is

Re: [Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Matt S Trout
Peter Traub wrote: On 6/22/06, *Matt S Trout* [EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote: Peter Traub wrote: Hello, I'm a Catalyst newbie stuck on the tutorial with following problem. In the Users.pm http://Users.pm http://Users.pm file, the

Re: [Catalyst] Problem with 'login' method in tutorial

2006-06-22 Thread Peter Traub
yep, it's in: /usr/local/share/perl/5.8.7/Catalyst/Plugin/Authentication/Credential/Password.pm and I looked at it yesterday and there is nothing unusual about the file. Not sure where to go from here. My system is a fresh and clean install that I also just did yesterday. The only non-apt