How the check_box_tag works?


#1

I don’t understand the right functionally of the Check_box_tag!.

def check_box_tag(name, value = “1”, checked = false, options = {})

can i put as value, the attribute names of a my model?
I would select some model attribute to work.