Re: [Catalyst] Emulating Catalyst::Request::Upload for HTML::FormHandler

2010-08-31 Thread Amiri Barksdale
On Wed, Aug 11, 2010 at 01:08:47PM +0100, Tomas Doran wrote: | | On 10 Aug 2010, at 19:59, Shlomi Fish wrote: | >I did not get any reply for this on IRC so I'm asking here. | | I believe you did later get a reply on irc. | | Could you share with the rest of the class for archival purposes? I ha

Re: [Catalyst] Automated testing?

2010-04-19 Thread Amiri Barksdale
On Sun, Apr 18, 2010 at 08:22:56AM -0700, Bill Moseley wrote: | I have a cron job that watches for changes to SVN, and when found the cron | script exports the code and runs the tests. The idea is to notify | developers if they check in code that causes testing to fail. | | I'd like to move away

Re: [Catalyst] Creating Catalyst Models from MSSQL

2009-08-03 Thread Amiri Barksdale
On Mon, Aug 03, 2009 at 03:37:37PM -0400, Meeko wrote: | I'm having trouble here at work creating models automatically using | DBIx::Class::Schema::Loader from our MSSQL database. | | We use FreeTDS on Red Hat, and the MSSQL Server is Windows 2003 and SQL | Server 2005. | | state=1 line=1 server=

Re: [Catalyst] Creating Catalyst Models from MSSQL

2009-08-03 Thread Amiri Barksdale
On Mon, Aug 03, 2009 at 03:37:37PM -0400, Meeko wrote: | We use FreeTDS on Red Hat, and the MSSQL Server is Windows 2003 and SQL | Server 2005. | |,,, | 'DBIx::Class::Schema::Loader::make_schema_at(): DBI Exception: | DBD::Sybase::st execute failed: Server message number=208 severity=16 | state=1

Re: [Catalyst] CatalystX::CRUD Storage Error

2009-07-30 Thread Amiri Barksdale
t I am getting hung up on more broadly is something you mentioned earlier: On Tue, Jul 28, 2009 at 08:30:44AM -0500, Peter Karman wrote: | Peter Karman wrote on 07/28/2009 07:51 AM: | >Amiri Barksdale wrote on 7/27/09 8:46 PM: | >>On Thu, Jul 16, 2009 at 11:33:38PM -0500, Peter Karman

Re: [Catalyst] CatalystX::CRUD Storage Error

2009-07-27 Thread Amiri Barksdale
On Thu, Jul 16, 2009 at 11:33:38PM -0500, Peter Karman wrote: | Also, your controller inherits from the base CatalystX::CRUD::Controller, which | doesn't really *do* anything by default. I.e., you need a form handler to | serialize and validate your model. Look at CatalystX::CRUD::Controller::RHTM

Re: [Catalyst] CatalystX::CRUD Storage Error

2009-07-16 Thread Amiri Barksdale
On Thu, Jul 16, 2009 at 09:36:47PM -0500, Peter Karman wrote: | what does your Controller config look like? Specifically, what is the value of | 'model_name' and what does the model_name class look like? The model_name value | should be the same for all your Controllers (the main subclass of | Cat

Re: [Catalyst] CatalystX::CRUD Storage Error

2009-07-16 Thread Amiri Barksdale
On Thu, Jul 16, 2009 at 09:36:47PM -0500, Peter Karman wrote: | Amiri Barksdale wrote on 7/16/09 2:34 PM: | > It seems that my CatalystX::CRUD ModelAdapter is unable to find the | > method "storage" in DBIx::Class::ResultSet. | > | > Here is the error and the code: | >

[Catalyst] CatalystX::CRUD Storage Error

2009-07-16 Thread Amiri Barksdale
It seems that my CatalystX::CRUD ModelAdapter is unable to find the method "storage" in DBIx::Class::ResultSet. Here is the error and the code: http://scsys.co.uk:8001/31231 Does anyone know how to fix this? Amiri ___ List: Catalyst@lists.scsys.co.uk

Re: [Catalyst] local::lib and mini-cpan for Catalyst apps

2009-07-16 Thread Amiri Barksdale
On Thu, Jul 16, 2009 at 10:06:31AM +0100, Tomas Doran wrote: > > On 16 Jul 2009, at 02:48, Chris wrote: > >> I'm trying to establish a working recipe for Cat apps with local::lib >> and app-local mini-CPANs. The aim is to have completely independent >> app installations with their own copies of all

[Catalyst] Error in subclassing Catalyst::Controller::DBIC::API::REST

2009-06-23 Thread Amiri Barksdale
I have a controller inheriting from a ControllerBase class that contains the following: package RestTest::ControllerBase::REST; use strict; use warnings; use base qw/Catalyst::Controller::DBIC::API::REST/; sub create :Private { my ($self, $c) = @_; $self->next::method($c);

[Catalyst] Very Simple Question

2008-11-17 Thread Amiri Barksdale
I am a new user of Catalyst, and from reading the documents and reading blogs posts I have been able to set up my schema, my authz/ authen, sessions, and my Mason view. I have a very simple question, though. This in a controller $c->stash->{elements} = [$c->model('DB::Elements')->all]; Req