[Catalyst] Unknown column 'me.role' error

2007-09-07 Thread Dustin Suchter
This is my first time using Catalyst and I'm hitting a problem that I've been trying to debug for a shamefully long time now with no success. I started by going step-by-step through Jon Rockway's tutorial on CPAN

Re: [Catalyst] Unknown column 'me.role' error

2007-09-07 Thread Dustin Suchter
COMMENT='this table stores the relationship of what users have roles'; Charlie Garrison wrote: Good evening, On 6/9/07 at 11:15 PM -0700, Dustin Suchter [EMAIL PROTECTED] wrote: The overall question is, what the heck is going on?!? What does your conf file look like (probably yaml file

Re: [Catalyst] Unknown column 'me.role' error

2007-09-07 Thread Dustin Suchter
. Jason Kohles wrote: On Sep 7, 2007, at 3:22 PM, Dustin Suchter wrote: Unfortunately I thought of that one already, and the two do match. Here's the useful YAML and below is the useful SQL just to double check. I believe the underlying MySQL engine is 4.1. # cat adblue.yml | grep -v \s

[Catalyst] a noob delete/cascade problem

2007-09-11 Thread Dustin Suchter
This is only slightly modified code from the tutorial on CPAN. I probably mis-copied something and hence my problem, but I can't seem to figure out what. I have a a controller called Campaigns.pm with the delete method below (comments and empty lines removed): 124 sub delete : Local { 126 my

[Catalyst] Re: a noob delete/cascade problem

2007-09-11 Thread Dustin Suchter
and transact a delete that removes the child rows first and then the parent rows, in order to make sure everything gets deleted. I think that one is a pipe dream so I'll happily use my solution above for now. -d Dustin Suchter wrote: This is only slightly modified code from the tutorial on CPAN. I

[Catalyst] How to pass args/data from one controller to another?

2007-09-28 Thread Dustin Suchter
So I've thought of a few different ways to pass data between Local methods across two different controllers, but none of them seem like good ideas. I still don't fully get the Catalyst framework yet, so I'm asking a very open question, What are a few right ways to do this? TIMTOWTDI, of course.

Re: [Catalyst] How to pass args/data from one controller to another?

2007-09-29 Thread Dustin Suchter
:27 am Dustin Suchter wrote: So I've thought of a few different ways to pass data between Local methods across two different controllers, but none of them seem like good ideas. I still don't fully get the Catalyst framework yet, so I'm asking a very open question, What are a few right ways to do

Re: [Catalyst] How to pass args/data from one controller to another?

2007-09-29 Thread Dustin Suchter
Ummm... that's what I logically thought was the right solution, but I tried that already - it doesn't work!! Um... I also notice a spelling mistake for Libaray in my example, but that's me just messing up when renaming from my real code to the examples I'm using in email. # #in