# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html one: id: 1 <% for attribute in attributes -%> <%= attribute.name %>: <%= attribute.default %> <% end -%> two: id: 2 <% for attribute in attributes -%> <%= attribute.name %>: <%= attribute.default %> <% end -%>