This project is archived and is in readonly mode.

#789 ✓resolved
Senthil

checkbox generation with "false"

Reported by Senthil | August 9th, 2008 @ 08:40 AM | in 2.x

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

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

People watching this ticket

Attachments

Pages