Fix change in checkboxes for Rails 2.3.2
Reported by Owen | July 14th, 2009 @ 08:26 PM
ils 2.3.2 changed the way checkbox fields are handled, and
Hobo
hasn't been updated to reflect this change yet.
A temporary fix is to add this to your
views/taglibs/application.dryml
file:
<%= hidden_field_tag(name, '0') unless attributes[:disabled]
%><%= check_box_tag(name, '1', this, attributes)
%>
Comments and changes to this ticket
-
Owen July 14th, 2009 @ 08:27 PM
- Tag set to defect, dryml, views
This is for the show page only. Edit page works fine.
-
Bryan Larsen July 15th, 2009 @ 04:16 PM
- State changed from new to invalid
This sounds like a duplicate of bug 422, which has been rolled into Hobo 0.8.8. If you're using Hobo 0.8.8 or trunk, please post a fuller description of your problem.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Referenced by
- 448 Problem with has_many accessible => true - empty records This looks like #463