Source

RubyLearning / ProjectTrak / vendor / rails / railties / lib / rails_generator / generators / components / model / templates / fixtures.yml

Full commit
# 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 -%>