Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl Catalyst and DBIx::Class best practice question.

by dragonchild (Archbishop)
on Dec 12, 2008 at 15:57 UTC ( #729963=note: print w/ replies, xml ) Need Help??


in reply to Perl Catalyst and DBIx::Class best practice question.

Since I'm still in QA, currently I'm having a lot of that purple catalyst error screen whenever I did something wrong with the DBIx::Class(e.g creating a record with the wrong column name, or undefined as a parameter when searching for a record).

This sounds like you're not validating your input prior to passing it to your model. If so, then that's the root issue. And, frankly, it's going to be a root issue for a lot more than the PSOD.


My criteria for good software:
  1. Does it work?
  2. Can someone else come in, make a change, and be reasonably certain no bugs were introduced?


Comment on Re: Perl Catalyst and DBIx::Class best practice question.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://729963]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (4)
As of 2015-07-04 00:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (57 votes), past polls