I have a has_and_belongs_to_many
relationship between client "projects" and "features" that they selected through a collection_checkbox administered through a join table called projects_features.
So: each user is able to create projects, and these projects have features that they select and save using a checkbox list - awesome.
I am now trying to edit the show view when the customer wants to take a look at his project, and want to display a list of features his particular project has. How would you do this? Could I do it through a loop displaying from the table or would I need to store the matching features into an array and then display them?