From: Rick DeNatale Date: 2007-12-08T02:05:04+09:00 Subject: Re: help with has_and_belongs_to_many 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 Ruby http://talklikeaduck.denhaven2.com/