[Catalyst] Update join was working, now getting Can't locate object method error

Matt S Trout dbix-class at trout.me.uk
Sat Jul 15 20:24:22 CEST 2006


Dennis Daupert wrote:
> Grrrrrrrr. I had this working, but changed code to use integer values 
> that reference another table, now getting error msg:
> 
> "Can't locate object method "add_to_user_quotes" via package 
> "Catapult::Model::CatapultDB::Quotes" 
> "../lib/Catapult/Controller/Text/Quote.pm line 233."

> package Catapult::Schema::CatapultDB::Quotes;
> __PACKAGE__->has_many(map_user_quotes => 
> 'Catapult::Schema::CatapultDB::UserQuotes', 'quote_id');

add_to_map_user_quotes, perhaps?

-- 
      Matt S Trout       Offering custom development, consultancy and support
   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Contact
Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more information

+ Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co.uk/ +



More information about the Catalyst mailing list