Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re^2: Can't call method "find" on an undefined value

by Anonymous Monk
on Feb 20, 2012 at 06:31 UTC ( #954992=note: print w/ replies, xml ) Need Help??


in reply to Re: Can't call method "find" on an undefined value
in thread Can't call method "find" on an undefined value

it should be $address = $c->model('AddressDB::Address')->find({id => $address_id});


Comment on Re^2: Can't call method "find" on an undefined value
Re^3: Can't call method "find" on an undefined value
by stonecolddevin (Vicar) on Feb 21, 2012 at 20:54 UTC

    If it's the primary key you don't have to specify the column name

    Three thousand years of beautiful tradition, from Moses to Sandy Koufax, you're god damn right I'm living in the fucking past

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (9)
As of 2014-07-11 04:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    When choosing user names for websites, I prefer to use:








    Results (218 votes), past polls