I’m trying to implement a checkbox option function, but I’m having a
problem in visualizing how it needs to be implemented.
Let me explain. I have a model (User) and another model (Category). I
want the user to be able to select multiple categories in the form of
checkboxes and have this information stored in the db.
User habtm Category
Category habtm User
But how to implement that as a checkbox listing?? Is this the proper
implmentation of this?