Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread Matt S Trout
On Tue, Jul 29, 2008 at 02:08:21PM +0100, Chisel Wright wrote: On Tue, Jul 29, 2008 at 02:21:10PM +0200, Daniel McBrearty wrote: 1. letting users keep existing member and login creds 2. being able to cross ref to other parts of the site eg. for a certain node, easily have a discussion link,

Re: [Catalyst] Duplicate entries with C::P::Session::Store::DBIC and MySQL

2008-07-30 Thread Matt S Trout
On Tue, Jul 29, 2008 at 12:49:17PM +0200, Tobias Kremer wrote: Quoting Tobias Kremer [EMAIL PROTECTED]: However, I'm unsure how to detect if the error really was a duplicate entry error or something else. die $@ if $@ $@ !~ /duplicate/i; This doesn't work because different DBs throw

Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread Ash Berlin
On 30 Jul 2008, at 02:27, John Beppu wrote: On Tue, Jul 29, 2008 at 5:21 AM, Daniel McBrearty [EMAIL PROTECTED] wrote: my 0.05 (possibly a bit OT) : Off-topic or not, I think these are interesting and valid questions. I looked previously at a few ways of adding forums etc to the site

[Catalyst] Configuring a Controller from the config file

2008-07-30 Thread Moritz Onken
Hi, I tried to set some config options for a controller with the config file. YAML-code: --- name: MyApp Controller::Root: key: value I'm using ConfigLoader and the debug shows that it successfully loaded the yaml file. In a method in my Root controller I tried to access those config

Re: [Catalyst] Configuring a Controller from the config file

2008-07-30 Thread Brian Cassidy
On Wed, Jul 30, 2008 at 8:38 AM, Moritz Onken [EMAIL PROTECTED] wrote: --- name: MyApp Controller::Root: key: value I had no luck. $c-config shows the hole config. I could access the config options via $c-config-{Controller::Root} but shouldn't it avaiable via $self-config? You should

Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread John Napiorkowski
--- On Wed, 7/30/08, Ash Berlin [EMAIL PROTECTED] wrote: From: Ash Berlin [EMAIL PROTECTED] Subject: Re: [Catalyst] Squatting::On::Catalyst To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Wednesday, July 30, 2008, 7:02 AM On 30 Jul 2008, at 02:27, John Beppu wrote:

Re: [Catalyst] 5.80 problem with Catalyst::Model::DBIC::Schema

2008-07-30 Thread Tomas Doran
On 18 Jul 2008, at 11:24, Tomas Doran wrote: On 18 Jul 2008, at 04:14, Chris Dolan wrote: So, I just tested 5.7099_02 to great success (bravo!) so I decided to try 5.80 too. When using SVN rev 8136, I get the error -config-{schema_class} must be defined for this model I am indeed

Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread Daniel McBrearty
The usual way to make things like this work is by having a standardised api. In the case of membership for a website, it might look something like: get_unique_user_id # of logged in user get_username_for_id( id ) Then if a forum has tables such as: thread - references username post - ditto and

Re: [Catalyst] deserializing key value pairs Catalyst::Controller::REST

2008-07-30 Thread Hani Anani
Thanks Jochen and J.Shirley, What I was trying to do is access parameters from the URL so i could have a REST interface, something like http://foo.bar.com/rest/v1/db/source_destination_mapt/1/destination_account/2 I ended up doing something like this sub source_destination_map :Local

Re: [Catalyst] Squatting::On::Catalyst

2008-07-30 Thread John Napiorkowski
--- On Wed, 7/30/08, Bruce Keeler [EMAIL PROTECTED] wrote: From: Bruce Keeler [EMAIL PROTECTED] Subject: Re: [Catalyst] Squatting::On::Catalyst To: The elegant MVC web framework catalyst@lists.scsys.co.uk Date: Wednesday, July 30, 2008, 3:38 PM Daniel McBrearty wrote: The usual way to

Re: [Catalyst] 5.80 problem with Catalyst::Model::DBIC::Schema

2008-07-30 Thread Chris Dolan
On Jul 30, 2008, at 12:12 PM, Tomas Doran wrote: On 18 Jul 2008, at 11:24, Tomas Doran wrote: On 18 Jul 2008, at 04:14, Chris Dolan wrote: So, I just tested 5.7099_02 to great success (bravo!) so I decided to try 5.80 too. When using SVN rev 8136, I get the error -config-{schema_class}