Re: Help with nested models and fields_for

Marnen Laibow-Koser
Wed, 24 Dec 2008 17:32:02 -0000

On Dec 23, 1:13 pm, Mark Reginald James
<m...-bzGI/hKkdgQnC9Muvcwxkw@public.gmane.org>
wrote:
> Mark Reginald James wrote:
> > Below is a patch that seems to fix the problem.  I haven''t
> > yet run the rails test suite on it, nor added a test that would
> > have broken the original.
>
> I''ve confirmed that this patch fixes the problem without
regression.

Hey, this is quite a Christmas present -- thanks very much!  I was
about to start poking around in the core to fix this, but you beat me
to it.  (The patch you posted here didn''t actually work, but the one
on the Lighthouse ticket did.)  And it solves the problem beautifully.

>
>
http://rails.lighthouseapp.com/projects/8994-ruby-on-rails/tickets/1622-incorrect-parsing-of-query-parameters-with-mixed-depth-nesting-inside-an-array

I had already created a ticket for this, which Fred closed as a
duplicate before I could do so.  So we''re cool.  Thanks again.