Forum: Ruby on Rails how the check_box_tag works?

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Ivan M. (Guest)
on 2006-03-27 14:06
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 topic is locked and can not be replied to.