[Catalyst] Catalyst::Helper::Model::DBIC::Schema. No tables found in database.

2007-03-27 Thread northfiled
hello helper model dbic cant generate table schema. # script/myapp_create.pl model DBIC DBIC::Schema myapp::Schema create=static dbi:mysql:myapp myapp hoge exists "/home/myapp/myapp/script/../lib/myapp/Model" exists "/home/myapp/myapp/script/../t" No tables found in database, nothing to load at /

Re: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Christian Storm
Splunk is a good one for this. On Mar 27, 2007, at 4:16 PM, Bill Moseley wrote: On Tue, Mar 27, 2007 at 05:12:02PM +0200, Igor Longagnani wrote: I should force my Catalyst based app to send an e-mail on every exception/error, just before sending it (the exception) out on the video when the

Re: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Bill Moseley
On Tue, Mar 27, 2007 at 05:12:02PM +0200, Igor Longagnani wrote: > I should force my Catalyst based app to send an e-mail on every > exception/error, > just before sending it (the exception) out on the video when the app dies. > I mean I'd like to see the exception both on the screen and on e-mai

RE: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Dylan Vanderhoof
> -Original Message- > From: Ash Berlin [mailto:[EMAIL PROTECTED] > Sent: Tuesday, March 27, 2007 9:12 AM > To: The elegant MVC web framework > Subject: Re: [Catalyst] Catalyst Exception received by e-mail? > > > Dylan Vanderhoof wrote: > > I'm sure there's a better way to do it, but I

Re: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Ash Berlin
Dylan Vanderhoof wrote: I'm sure there's a better way to do it, but I have some code in Root->end() that effectivly does (pseudocode): If( $error && !$debug ) { email_stacktrace(); clear_error(); template = 'default_error.tt'; } The one problem with doing it like that is that if you di

RE: [Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Dylan Vanderhoof
I'm sure there's a better way to do it, but I have some code in Root->end() that effectivly does (pseudocode): If( $error && !$debug ) { email_stacktrace(); clear_error(); template = 'default_error.tt'; } The one problem with doing it like that is that if you die in the view somewhere, y

[Catalyst] Catalyst::Test for Web Services

2007-03-27 Thread Andrew Peebles
I wonder if I am off base here, or thought of something clever ... I wrote an email popper to deal with user replies to "issue" state changes in a issue tracker app. The popper retrieves email, and wants to put the body of the mail in as an update to an existing issue. But the logic internal

[Catalyst] Catalyst Exception received by e-mail?

2007-03-27 Thread Igor Longagnani
Hi, still a rookie here; some time has passed since my last question, because i had many other things to do, but now I am back with many questions and really few answers :) Iam sure You can help, let's say you almost always did :) I should force my Catalyst based app to send an e-mail on every e

[Catalyst] unit testing Chuck Norris style

2007-03-27 Thread Andrew Strader
I have a question about writing unit tests for a Catalyst app. I've found it's extremely useful to have internal controller tests, as described on http://www.catalystframework.org/calendar/2006/17 ("Chuck Norris tests his Catalyst controllers with Test::More"). The basic approach I've been using