# Read about fixtures at http://ar.rubyonrails.org/classes/Fixtures.html

<% unless attributes.empty? -%>
one:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>

two:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>
<% else -%>
# one:
#   column: value
#
# two:
#   column: value
<% end -%>

# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html

<% unless attributes.empty? -%>
one:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>

two:
<% for attribute in attributes -%>
  <%= attribute.name %>: <%= attribute.default %>
<% end -%>
<% else -%>
# one:
#   column: value
#
# two:
#   column: value
<% end -%>

Update obsolete link to fixture documentation
Update obsolete link to fixture documentation