I have a <tr> element in my view, and I want to add classes dynamically on this element depending on an association between two models (many to many between company and packaging).
The result should looks like
<tr class="pck1 pck3 pck5">
where pck1, pck3 and pck5 are packagings associated with a company.
or simply: