I am using formtastic to render a form for a object of a model that has a HABTM relationship with another model.
I am doing this to render a list of checkboxes:
<%= f.input :classes, :as => :check_boxes, :collection => UserClass.all %>
And yes, it renders all the checkboxes and at the right side it shows the object name, something like this. So I have something like this:
[x] #<UserClass:0x000000087e4958>
How can I change that? I want to show the class name and description...
Thank you.