[Catalyst] Newbie question on debugging inside a schema

2010-01-16 Thread Steve Kleiman
Thanks in advance for any insight provided. I'm trying to figure out how to log errors from INSIDE a schema. I gather it's Bad to pass in $c so that within a schema I can't do what I'd really like which is: $c-log-warn('some useful debug info'); What is the recommended procedure

[Catalyst] Re: Bugzilla REST API in Catalyst

2010-01-16 Thread Aristotle Pagaltzis
* Kiffin Gish kiffin.g...@planet.nl [2010-01-11 20:25]: I'm not familiar with Mecurial and can't get hg to run correctly. A note for the interested: with hg-git it’s very easy to work mostly with git and only touch hg when publishing/downloading commits:

Re: [Catalyst] Newbie question on debugging inside a schema

2010-01-16 Thread Pavel O. Karoukin
Thanks in advance for any insight provided. I'm trying to figure out how to log errors from INSIDE a schema. I gather it's Bad to pass in $c so that within a schema I can't do what I'd really like which is: $c-log-warn('some useful debug info'); What is the recommended procedure

[Catalyst] Mocking for Catalyst testing

2010-01-16 Thread Stuart Watt
OK, so it's not solely a Catalyst question, but I'd be keen for any pointers on good tools for mocking when testing Catalyst applications. I'm not especially needing mocking databases, i.e., I've seen DBD::Mock, but I want to test using mocks of some other model components. The one that causes