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

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

From: Dave Mabe
Subject: Re: [CDBI] Class::DBI::Sweet Errors
Date: 00:49 on 10 Jan 2006
I just updated my Class::DBI and Class::DBI::Sweet and I get a different er=
ror:

Can't locate object method "last_insert_id" via package
"DBIx::ContextualFetch::db" at
/usr/lib/perl5/site_perl/5.8.2/Class/DBI.pm line 582.

I updated DBIx::ContextualFetch also and I still get the same error.

Strange.

Dave

On 1/9/06, Matt S Trout <dbix-class@xxxxx.xx.xx> wrote:
> On Mon, Jan 09, 2006 at 07:00:41PM -0500, Dave Mabe wrote:
> > 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.
>
> Update your Sweet and Class::DBI to latest; create became insert fairly
> recently. Alternatively you could use Class::DBI::Frozen::301, which is
> a cut of Class::DBI from when it was a tad more stable.
>
> Note for the record: Marcus Ramberg did the last set of updates to Sweet,
> our existing deployments are using Frozen and everything new is being bui=
lt
> using DBIx::Class.
>
> --
>      Matt S Trout       Offering custom development, consultancy and supp=
ort
>   Technical Director    contracts for Catalyst, DBIx::Class and BAST. Con=
tact
> Shadowcat Systems Ltd.  mst (at) shadowcatsystems.co.uk for more informat=
ion
>
>  + Help us build a better perl ORM: http://dbix-class.shadowcatsystems.co=
.uk/ +
>
>

_______________________________________________
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