I currently have a rails check_box_tag call that looks like
check_box_tag #{name}
I want to include a checked attribute, which I know I can do
If you pass in a value of "1" to the value field, it will pass-on the value of the real state of the checkbox, regardless of the checked default value:
is_checked = check_box_tag :show_defaults, '1', is_checked
(now always reflects user input)