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

Replies are listed 'Best First'.
Re^3: Can't call method "find" on an undefined value
by stonecolddevin (Parson) 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