I have a form
<%= nested_form_for @parent do |p| %>
<%= p.fields_for :child do |c| %>
<%= c.check_box :boolean_field %>
<% end %>
<% end %>
why this check box is not checked when I want to edit a parent record while it is already c.boolean field is set to true and I can see value of text box is set to 1. How can I over come I tried a lot now its annoying me.