Sha256: bbf70b71e5272740754a2cd6dacf542c81ba00205034fff2cbb42d64ee95c326

Contents?: true

Size: 597 Bytes

Versions: 1

Compression:

Stored size: 597 Bytes

Contents

# Read about fixtures at http://api.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 -%>
# This model initially had no columns defined.  If you add columns to the
# model remove the '{}' from the fixture names and add the columns immediately
# below each fixture, per the syntax in the comments below
#
one: {}
# column: value
#
two: {}
#  column: value
<% end -%>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
railties-3.1.0.beta1 lib/rails/generators/test_unit/model/templates/fixtures.yml