I have two models, Leads and courses, Leads HABTM courses.
I want to list all courses in leads/new as checkboxes, at the moment I have them as a multiselect box, but I dont like the way it works.
This is what I have at the moment
<%= f.collection_select :course_ids, Course.find(:all, :order => 'course_type'),
:id, :course_name, {}, :multiple => true %>
How would I make it so it lists all of the courses?