On 9/12/07, Micah Jaffe <[EMAIL PROTECTED]> wrote:
>
> I'm trying to figure out the best[*] way to validate Chained actions
> at various points along the action chain. By validate, I mean "check
> if the action should proceed or bomb out." Validation is not the
> same as authentication; I may be
Today I saw how easy it is to extend Template-Toolkit within Catalyst.
Perhaps somebody here will find this useful.
I wanted to easily format dollar amounts from within the tt2 template.
I had been doing this with [% FILTER format( "%.2f" ) %], but having
FILTER/END everywhere seemed a bit a
I'm trying to figure out the best[*] way to validate Chained actions
at various points along the action chain. By validate, I mean "check
if the action should proceed or bomb out." Validation is not the
same as authentication; I may be logged in but I may not have
permissions to do certai
As discussed on IRC, this seems to be a bug introduced around Catalyst 5.708.
I got a commit bit from Jay (thanks!) and committed the fix with test suite.
http://dev.catalystframework.org/svnweb/Catalyst/revision/?rev=6873
On 9/12/07, Gavin Henry <[EMAIL PROTECTED]> wrote:
> Jonathan Rockway wro
Hey Feyland,
On Tue, 4 Sep 2007, Fayland Lam wrote:
Thank God. it works now. :)
plz have a check, then I'll commit it to Catalyst trunk and release as a CPAN
module.
I've created appropriate Catalyst-Model-DBIC-Schema-QueryLog directories
in the svn repo, please commit your code in there
On Tue, Sep 11, 2007 at 10:20:50PM -0700, Dustin Suchter wrote:
> Well, I found a solution to my problem. I'm not sure it is the most
> elegant, but here goes:
>
> I figured that just putting the proper cascade logic into my actual
> DB schema would fix things, and it does. I changed my table
> de
On Wed, Sep 12, 2007 at 04:13:36PM +0200, Marcello Romani wrote:
> Hallo,
> I've installed C::P::QueryLog and installed the template provided
> by the pod doc, but I always get 0.00 seconds of elapsed time, no matter
> how many db accesses I do.
Uninstall it and use the replacement model mix
On Mon, Sep 10, 2007 at 09:06:07AM +0200, Marcello Romani wrote:
> Matt S Trout ha scritto:
> >On Mon, Aug 27, 2007 at 05:10:23PM +0200, Marcello Romani wrote:
> >>Hi,
> >>I'm developing an app using cat and dbic, with postgresql 8.1.
> >>I've got a table with a "unique" column.
> >>
> >>When I
I use this hack to disable buffering for MyApp code (not for Catalyst core).
package MyApp;
__PACKAGE__->log( MyApp::Log->new );
package MyApp::Log;
use strict;
use base 'Catalyst::Log';
sub _log {
my $self = shift;
$self->SUPER::_log(@_);
$self->_flush if scalar(caller(1)) =~ /^MyA
Jonathan Rockway wrote:
> Gavin Henry wrote:
>> Tatsuhiko Miyagawa wrote:
>>
>>> I tested but couldn't reproduce. So I wouldn't say this is a Cat bug.
>> And the same result as before:
>>
>> Hello first.last [EMAIL PROTECTED]
>>
>
> Would you guys be so kind as to run scandeps.pl (from Modul
Hallo,
I've installed C::P::QueryLog and installed the template provided
by the pod doc, but I always get 0.00 seconds of elapsed time, no matter
how many db accesses I do.
The DBIC::Querylog doc made me think that perhaps I need to explicitly
assign the querylog object to the schema storag
Jonathan Rockway wrote:
> Gavin Henry wrote:
>> Tatsuhiko Miyagawa wrote:
>>
>>> I tested but couldn't reproduce. So I wouldn't say this is a Cat bug.
>> And the same result as before:
>>
>> Hello first.last [EMAIL PROTECTED]
>>
>
> Would you guys be so kind as to run scandeps.pl (from Modul
Gavin Henry wrote:
> Tatsuhiko Miyagawa wrote:
>
>> I tested but couldn't reproduce. So I wouldn't say this is a Cat bug.
> And the same result as before:
>
> Hello first.last [EMAIL PROTECTED]
>
Would you guys be so kind as to run scandeps.pl (from Module::ScanDeps
on CPAN) and report the v
Tatsuhiko Miyagawa wrote:
> I tested but couldn't reproduce. So I wouldn't say this is a Cat bug.
>
> % catalyst.pl TestApp
> % cd TestApp
> % vi lib/TestApp/Controller/Root.pm
>
> sub default : Private {
> my ( $self, $c ) = @_;
>
> # Hello World
> $c->response->body("Hello " . ($c-
Matt Rosin wrote:
> I wonder if this is similar to something bug I saw a few months ago.
> I tried to pass a GET url into a TT2 field but the question mark in the
> url kept getting url-encoded to %3F. I was wondering if it was a Unicode
> problem, but it may have been wrong url_for syntax.
>
> H
Hi all,
I have another Catalyst talk up at:
http://www.jrock.us/doqueue-grr/start.html
The talk is for beginners of Catalyst, but it covers building a full
application (doqueue) in just under an hour (and unfortunately omits
some stuff, but there's only so much you can do in an hour). doqueue
Dustin Suchter ha scritto:
Well, I found a solution to my problem. I'm not sure it is the most
elegant, but here goes:
I figured that just putting the proper cascade logic into my actual
DB schema would fix things, and it does. I changed my table
definition to:
84 CREATE TABLE `campaign_clients
17 matches
Mail list logo