How the check_box_tag works?

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.

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs