Re: Deleting from $film->stars in Many to Many Example

[prev] [thread] [next] [Date index for 2004/12/02]

From: William McKee
Subject: Re: Deleting from $film->stars in Many to Many Example
Date: 15:16 on 02 Dec 2004
On Mon, Nov 22, 2004 at 02:35:01PM -0800, Peter Speltz wrote:
> > You can always delete Roles directly:
> > 
> > Role->delete( actor => $actor, film => $film );
> > 
> 
> That's what i'm after. Thanks so much. For some reason I had it in my mind
> delete was strictly and object method. Don't know where i got that idea. 

(catching up on my inbox)

Perhaps, you got the idea from this warning message that gets printed if
you call delete as a class:

  "Delete as class method is deprecated. Use search and delete_all instead."


William

        -- 
        Knowmad Services Inc.
http://www.knowmad.com

Re: Deleting from $film->stars in Many to Many Example
William McKee 15:16 on 02 Dec 2004

Generated at 17:24 on 02 Dec 2004 by mariachi v0.52