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 with
check_box_tag name, value, checked
But what if I want to set it to checked without explicitly specifying value (I just want to use the default). Or similarly, what if I wanted to specify html options without specifying the checked attribute. Is there a way to do this?