Re: [CDBI] Class::DBI::Sweet Errors

[prev] [thread] [next] [Date index for 2006/01/10]

From: Brad Bowman
Subject: Re: [CDBI] Class::DBI::Sweet Errors
Date: 00:11 on 10 Jan 2006

> I just switched over to using Class::DBI::Sweet from Class::DBI and
> now I get errors when I call find_or_create for a class.
> 
> Can't locate object method "insert" via package "Class::DBI::Sweet" at
> /usr/lib/perl5/site_perl/5.8.2/Class/DBI/Sweet.pm line 630.
> 
> 
> It works fine under Class::DBI.  Any ideas?

Which versions of each are you using?

insert used to be called create, so if either version is old
then it may be causing the problem

Brad

        -- 
         When one's own attitude on courage is fixed in his heart, and when his
 resolution is devoid of doubt, then when the time comes he will of
 necessity be able to choose the right move. -- Hagakure

_______________________________________________
ClassDBI mailing list
ClassDBI@xxxxx.xxxxxxxxxxxxxxxx.xxx
http://lists.digitalcraftsmen.net/mailman/listinfo/classdbi

[CDBI] Class::DBI::Sweet Errors
Dave Mabe 00:00 on 10 Jan 2006

Re: [CDBI] Class::DBI::Sweet Errors
Brad Bowman 00:11 on 10 Jan 2006

[CDBI] Re: Class::DBI::Sweet Errors
Edward J. Sabol 00:12 on 10 Jan 2006

Re: [CDBI] Class::DBI::Sweet Errors
Matt S Trout 00:29 on 10 Jan 2006

Re: [CDBI] Class::DBI::Sweet Errors
Dave Mabe 00:49 on 10 Jan 2006

Re: [CDBI] Class::DBI::Sweet Errors
David Steinbrunner 12:13 on 10 Jan 2006

Re: [CDBI] Class::DBI::Sweet Errors
Dave Mabe 13:40 on 10 Jan 2006

Generated at 09:31 on 23 Jan 2006 by mariachi v0.52