I've got a simple button, which (should) turn the value of a Boolean into true:
= simple_form_for @item do |f|
= f.check_box :is_active, {checked: true} #Hide via CSS, it is actually checked.
= f.button :submit, 'Publish', class: 'btn'
Should that form be inove and I made a mistake in it? Or do I need some Controller Stuff? When I press that Button, the Boolean stays false.
Thanks in advance for each answer! Please tell me if you need additional information.