[Catalyst] different storage for a controller

2010-09-08 Thread rahed
Hi, in MyApp.pm I have: __PACKAGE->config(session => {storage => '/tmp/mystorage'}); I use FastMmap session storage and would like to change the path for one of my controller. I tried in myapp.yml: 'Controller::Start::Abc:' session: storage: '/tmp/mystorage2' But the storage remains unch

Re: [Catalyst] different storage for a controller

2010-09-09 Thread rahed
Tomas Doran writes: > This question makes no sense. > > The session storage is per user, not per controller. > > What are you actually trying to achieve / what problem are you trying > to solve here? Yes, that's a nonsense. I forgot it's a session. I also use FastMmap outside Catalyst. -- Rade

[Catalyst] connecting to a remote sqlite

2007-10-12 Thread rahed
Hello, I connect to a local sqlite db. The data is being retrieved roughly like this: my $rs = $c->model('MyAppDB::Table1')->search( undef, { prefetch=>{ 'rel1'=>{'rel2'=>['table4','table5'] } },

Re: [Catalyst] connecting to a remote sqlite

2007-10-13 Thread rahed
On 10/12/07, Matt S Trout <[EMAIL PROTECTED]> wrote: > On Fri, Oct 12, 2007 at 11:50:01AM +0200, rahed wrote: > > Without prefetch, there is no error. Is it possible (and which way) to > > retrieve data from a remote db via proxy with Catalyst? > > Yes, use a database

[Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread rahed
Hi, I tried to install Catalyst::Plugin::Authentication::Store::LDAP but it fails during t/01-pre_realms_api.t test. The message is: IO::Socket::INET: connect: timeout at t\01-pre_realms_api.t line 23. Both on Solaris10 and windows. Do I miss something? I noticed it fails also with CPAN Testers.

Re: [Catalyst] installing Catalyst::Plugin::Authentication::Store::LDAP

2008-01-24 Thread rahed
On 1/24/08, Peter Karman <[EMAIL PROTECTED]> wrote: > you did not miss anything. There are tests for this timeout issue in svn > already but I am > waiting on some other issues before making a new release of ::Store::LDAP. > > The tests try and access openldap.org and timeout if they can't reach

[Catalyst] installing authentication modules

2008-03-04 Thread rahed
Hi, I installed Catalyst and other additional modules. When starting myapp_fastcgi.pl I got the message: Can't locate Catalyst/Plugin/Authentication/Store/DBIx/Class in @INC. Actually I had to install Catalyst::Authentication::Store::DBIx::Class to fix it. I am a bit perplexed by the docs about

Re: [Catalyst] installing authentication modules

2008-03-06 Thread rahed
On 3/5/08, Jay K <[EMAIL PROTECTED]> wrote: > Catalyst::Authentication::Store::DBIx::Class is correct. There are > older modules that use the Plugin style naming - and Catalyst will > attempt to load using the Plugin naming if it can't find the > Catalyst::Authentication:: version. If you loo

Re: [Catalyst] failed to install Catalyst::Plugin::Session::Store::FastMmap on strawberry perl

2008-03-19 Thread rahed
On 3/19/08, Ali M. <[EMAIL PROTECTED]> wrote: > i failed to install Catalyst::Plugin::Session::Store::FastMmap on > strawberry perl on windows > Module 'Catalyst::Plugin::Session::Store::FastMmap' requires > 'Cache::FastMmap' to be installed Cache::FastMmap doesn't work on windows. It uses mma

[Catalyst] current profile won't fill with C::P::FormValidator::Simple::Auto

2008-04-17 Thread rahed
Hi, I use C::C::FormBuilder which lacks complex validation. I looked around and want to use C::P::FormValidator::Simple::Auto with external yaml files. $c->config->{validator}->{profiles} gets filled from my profile file but current profile ($c->validator_profile) is never filled. This should be

Re: [Catalyst] So, what do we want in the -next- book?

2008-04-27 Thread rahed
On 4/27/08, Ali M. <[EMAIL PROTECTED]> wrote: > i completly oppose another cookbook for catalyst > > catalyst need an indepth book that describe its design! > the first book was very much a learning by example book, which is > close to a cookbook > > and the main complain or the bad review wher