blob: 6be3c81beefb9fb408b8ac8b9ddce73e7ea36748 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
# 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 -%>
|