Netsted each loops

If you are trying to iterate through the columns of the definition
object object you can use the content_columns array, so
h.content_columns.each do |column|
  # contains the column name
  # h.send( will return the value


Found my problem: I needed to call the attributes array directly on
each definition object.

<% @word.definitions.each do |h| %>
  <% h.attributes.each do |i| %>
    <%=h i %>
  <% end %>
<% end %>