Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

Fix FormHelper#check_box documentation in 2.3

#6311

In 2.3, ActionView::Helpers::FormHelper#check_box was changed to put the generated hidden field before the checkbox tag, not after it, because the HTTP parameter extraction order changed. The documentation was fixed in edge at that point, but was never updated for 2.3. See the following discussion in rubyonrails-core:

http://groups.google.com/group/rubyonrails-core/browse_thread/threa...

In that discussion Xavier Noria requested that I create a patch and LH ticket, so I am doing so. I will produce the patch and attach it to this ticket.

Reported by jrdioko · January 18th, 2011 @ 08:07 PM

State: resolved
Milestone: none
Assigned to: Xavier Noria Xavier Noria
Importance: Low

Activity

  1. jrdioko
    jrdioko

    Attaching the patch. This is my first time doing this, so let me know if I did something wrong. I directly copied over edits to the documentation from commit f97832b1e4406a76d268.

    January 18th, 2011 @ 08:23 PM

  2. Xavier Noria
    Xavier Noria
    • State changed from new to open
    • Assigned user set to Xavier Noria
    • Importance changed from to Low

    January 19th, 2011 @ 07:31 AM

  3. Repository