This project is archived and is in readonly mode.

#3209 ✓stale
qoobaa

symbol value support for check_box_checked?

Reported by qoobaa | September 15th, 2009 @ 11:49 AM

Currently it supports booleans, integers, strings and arrays. If the value is casted to symbol (e.g. state_machine does it) check_box helper breaks, trying to invoke to_i on symbol object. The check_box_checked? method should treat symbols like strings.

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

Pages