Re: Re: Re: multiple habtm problem

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: Re: Re: multiple habtm problem

Bugzilla from nicholas.stuart@gmail.com
Ya, found this ticket and tried out the patch. Seems to work alright for me.

On 12/15/05, Steven Mohapi-Banks <[hidden email]> wrote:

> I submitted a ticket a couple of days ago.
>
> http://dev.rubyonrails.org/ticket/3213
>
> Apparently it has been fixed. I haven't checked out the latest trunk yet to
> test it.
>
>
> On 15 Dec 2005, at 20:57, Mel Riffe wrote:
> Hey Nick, Anthony, ara,
>
>  Search the archives of this mailing list for: [Rails] Problem with .save
> when model has two HABTM
>
>  Several people have contibuted to this 'feature'.
>
>  The short of it, on create you have to save the collection owner and then
> alter the collections.
>
>  Not ideal, but works.
>
>  It still might be a good idea to submit an issue for this; the
> documentation suggests even the first collection shouldn't be saved for
> newly created models, though.
>
>  -Mel
>
>
> On 12/15/05, Nick Stuart <[hidden email]> wrote:
> > I've found this too Anthony. Have you opened up a bug report on this?
> >
> > -Nick
> >
> > On 12/9/05, Anthony Rudgick <[hidden email]> wrote:
> > > i've established that only the habtm relationhip listed first in my
> shirt
> > > model will submit to the join on the 'new' action
> > >
> > > yet both still work on the 'update' action
> > >
> > > -a
> > >
> > > _______________________________________________
> > > Rails mailing list
> > > [hidden email]
> > > http://lists.rubyonrails.org/mailman/listinfo/rails
> > >
> > >
> > >
> > _______________________________________________
> > Rails mailing list
> > [hidden email]
> > http://lists.rubyonrails.org/mailman/listinfo/rails
> >
>
> _______________________________________________
> Rails mailing list
> [hidden email]
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
> _______________________________________________
> Rails mailing list
> [hidden email]
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
>
>
_______________________________________________
Rails mailing list
[hidden email]
http://lists.rubyonrails.org/mailman/listinfo/rails