What is the difference between the check_box_tag and the check_box form
helper?
I can’t understand why both must exist.
Thanks.
Fernando L.
What is the difference between the check_box_tag and the check_box form
helper?
I can’t understand why both must exist.
Thanks.
Fernando L.
Fernando L. wrote:
What is the difference between the check_box_tag and the check_box form
helper?I can’t understand why both must exist.
One (check_box) is specifically designed to work with ActiveRecord-style
objects, where an instance variable has persistent named data methods -
this works very nicely with Rails’ parameter string parsing. The other
(check_box_tag) can be used for anything.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs