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 want the checkbox to be checked, then
check_box_tag name, value, {:checked => "checked"}
otherwise
check_box_tag name, value