From: Junkone Date: 2007-12-08T02:25:05+09:00 Subject: Re: help with has_and_belongs_to_many On Dec 7, 12:05 pm, Rick DeNatale wrote: > On 12/7/07, Junkone wrote: > > > On Dec 7, 9:45 am, Rick DeNatale wrote: > > > You don't replace a habtm relationship with an assignment, you add to it > > > > a.tags << z > > thanks. how do you do the reverse. if i want to remove an existing > > relationship. > > a.tags.delete(z) > > -- > Rick DeNatale > > My blog on Rubyhttp://talklikeaduck.denhaven2.com/ thanks a lot.