Ruby on Rails/HTML - Inline forms :checked => false is not working
0 What I want: I want the default option for this form to be "No" (or false), and yet when I set it as the above, my app loads with no option chosen. When I do :check => true , the default option selected is "Yes" (or true), so I figured switching to false and move it to the No option would work, yet it doesn't. Relevant code: <div class="form-group"> <%= label(:store_item, :can_be_shipped, 'Can be Shipped?')%> <div class="form-inline"> <div class="radio inline"> <%= radio_button(:store_item, :can_be_shipped, true)%> <%= label(:store_item, :can_be_shipped, 'Yes', :value => true)%> </div> <div class="radio inline"> <%= radio_button(:store_item, :can_be_shipped, false)%> <%= label(:store_item, :can_be_shipped, 'No', :value => false, :checked => false)%> </div> </div> </div What should I be