> In the docs for ActionView::Helpers::FormHelper#check_box, when
> discussing why the method adds a hidden input tag _after_ the checkbox
> tag, it says
>
> "...Rails parameters extraction always gets the first occurrence of
> any given key..."
>
> I'm not sure this is still the case.
Indeed it changed in 2.3 but unfortunately the patch didn't update the
docs. We noticed this a few days ago, they are correct now in edge.
> Is there any way this doc patch could be applied to the 2.3 branch? I
> spent hours trying to figure out what was going on after an upgrade to
> 2.3 because the documentation was invalid and there was nothing
> mentioning this change in the release notes...
If someone prepares a patch against 2.3 and opens a LH ticket with it
I'll apply it. Please submit the link to this thread so that I see it
for sure.
Excellent, applied. And welcome! :)
http://contributors.rubyonrails.org/contributors/johnathan-ritzi/commits