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|
  # column.name contains the column name
  # h.send(column.name) will return the value
end

Colin

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| %>
  <p>
    <%=h i %>
  </p>
  <% end %>
<% end %>