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.

checkbox generation with "false"

#789

while migrating one large app I noticed the check_box helper is inconsistent when compared to radio button helper

I have written test and minor fix which solves this problem.

def test_check_box_true_false actual = check_box_tag "admin",true expected = %() assert_dom_equal expected, actual #passes actual = check_box_tag "admin",false expected = %() assert_dom_equal expected, actual #fails end

attaching the git commit as diff

you can also access it from, my fork git://github.com/railsfactory/rails.git

Reported by Senthil · August 9th, 2008 @ 08:40 AM

State: resolved
Milestone: 2.x
Assigned to: nobody
Importance: none

Activity

  1. Senthil
  2. josh
    josh
    • State changed from new to resolved
    • Tag changed from actionpack, helper to actionpack, helper, patch

    tests pass

    November 22nd, 2008 @ 07:45 PM