Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Hermida, Leandro [EMAIL PROTECTED] wrote: Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up the model connect info to come from the YAML configuration

Re: [Catalyst] model connect info to come from YAML configuration file

2006-12-05 Thread Juan Miguel Paredes
On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Juan Miguel Paredes [EMAIL PROTECTED] wrote: On 12/5/06, Hermida, Leandro [EMAIL PROTECTED] wrote: Hello, I remember seeing the question being asked before but I couldn't find it in the archives. How does one set up

Re: [Catalyst] Re: Strange (error)? when trying to load 20 classes or more on DBIx::Class::Schema

2006-12-14 Thread Juan Miguel Paredes
On 12/14/06, Brian Cassidy [EMAIL PROTECTED] wrote: Juan Miguel Paredes wrote: Hi, folks! We've narrowed the problem: when there are sufficient classes loaded in the DBIC Schema, the Authentication configuration turns out wrong: #Confianza.pm (Main Module) __PACKAGE__-config

Re: [Catalyst] Couldn't forward to vdc::View::tt. Does not implement process

2006-12-18 Thread Juan Miguel Paredes
On 12/18/06, Alejandro Imass [EMAIL PROTECTED] wrote: Thank You! That was the problem. I created a soft link with capital TT and it is now working. Can anyone explain why this has happened Is this a version problem? The application is working fine in my development laptop and _was_ working

Re: [Catalyst] Create multiple records

2006-12-29 Thread Juan Miguel Paredes
On 12/29/06, Will Smith [EMAIL PROTECTED] wrote: Thank you, Yes, I mean I'm using DBIC. I've tried your method. It did not give error, but, also did not insert into the table. Do I miss something? Hi, Will! Are the correct SQL statements being generated? (try export DBI_TRACE=1 or

Re: [Catalyst] Binary Conversion

2007-01-08 Thread Juan Miguel Paredes
On 1/8/07, Will Smith [EMAIL PROTECTED] wrote: Hi, I want to conver a number to binary. I installed Math::BigInt, and get this error when trying to plugin in the main controller: Can't locate Catalyst/Plugin/Math/BigInt.pm ... in /lib/usr/lib/perl5/5.8.5/i386-linux-thread-multi .. eventhough

Re: [Catalyst] Recommend methods for form handling

2007-01-17 Thread Juan Miguel Paredes
On 1/17/07, Ian Docherty [EMAIL PROTECTED] wrote: John Napiorkowski wrote: I think FillInForm is quasi depreciated, since it parses each request and can slow things down quite a bit. I had an initial struggle with FillInForm initially, but then I struggled finding a good alternative in the

Re: [Catalyst] Accessing $c from Model

2007-01-31 Thread Juan Miguel Paredes
On 12/27/06, Ash Berlin [EMAIL PROTECTED] wrote: Mark Zealey wrote: Hi there, I'm basically wanting to write a simple log function which logs hits on my website as entries in a database (automatically adding $c-user-{id} and $c-req-referrer etc), but to do so I want to use a model (I

Re: [Catalyst] Accessing $c from Model

2007-01-31 Thread Juan Miguel Paredes
On 1/31/07, Matt S Trout [EMAIL PROTECTED] wrote: On 31 Jan 2007, at 15:23, Juan Miguel Paredes wrote: Hi, all! What if we have to overload ACCEPT_CONTEXT to do something like this, but using DBIC::Schema? What would be the recommended inheritance chain? Catalyst::Model::DBIC::Schema

Re: [Catalyst] Accessing $c from Model

2007-02-01 Thread Juan Miguel Paredes
On 2/1/07, Matt S Trout [EMAIL PROTECTED] wrote: package MyApp::DataStore; # or whatever this is called use base qw/DBIx::Class::Schema/; __PACKAGE__-mk_group_accessors(simple = 'context'); then my $new = bless ... $new-schema(bless(...)); # same trick on the schema

Re: [Catalyst] Accessing $c from Model

2007-03-05 Thread Juan Miguel Paredes
On 3/5/07, Scott Thomson [EMAIL PROTECTED] wrote: Ok, I think I'm close... My main schema class: package DB; use base qw/DBIx::Class::Schema DBIx::Class::AccessorGroup/; __PACKAGE__-mk_group_accessors(simple = 'context'); __PACKAGE__-load_classes(qw//); 1; My model class... package

Re: [Catalyst] new C::P::A::LDAP for new-style C::P::A

2007-07-16 Thread Juan Miguel Paredes
As suggested in http://search.cpan.org/~jayk/Catalyst-Plugin-Authentication-0.1/lib/Catalyst/Plugin/Authentication.pm (_don't see also_ section), has this new version of C::P::A::LDAP already made it to CPAN and obsoleted C::P::A::Store::LDAP, or is anyone using the new C::P::A (0.1000) with