Hi, I'm new to RoR, so this may be a silly question.
In this code
<% for team in @teams %> <tr> <% for column in Team.content_columns %> <td><%=h team.send(column.name) %></td> <% end %> </tr> <% end %>
I get back rows with each 2 columns. I only want the data of the first column, not the second. For one reason or the other (me) I cannot find the exact way to define the order/number/definition/id of a column. Something like column[0].name or so does not seem to work. (And I probably am thinking to un-RoR) Could someone please help me out on this one? Greatly appriciated.