Created
January 20, 2020 14:17
-
-
Save Vegann/a555830c000a96390a096055f4edb210 to your computer and use it in GitHub Desktop.
How to send true/false params with checkbox - Rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
= f.check_box :type, { class: 'class', checked: @checked }, 'true', 'false' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment