Re: Parameter Parsing with Duplicate Parameters

Jeremy Kemper
2006-08-24T16:05:28Z

On 8/23/06, MacProBob <bobtheslob@gmail.com>
wrote:
>
> For the checkbox code, I wouldn''t define that as exploiting the
> behavior, it''s more like working around the problem. If Rails
exhibited
> the "typical" behavior for parameter parsing (treating the
incoming
> parameters as a hash where new values overwrite existing ones), the
> hidden field would just be listed before the checkbox tag instead of
> after it.


Ah, you''re totally right. Could go either way.

I was just wondering why the break from convention and if it was
a
> design decision or an oversight and something that can be fixed.


It was a design decision, but I think your expectation is reasonable.

jeremy