Sha256: c006b4b35aef4583fb6657c8391d693297a4580439b4ffe8e4f0486f78e55524
Contents?: true
Size: 604 Bytes
Versions: 12
Compression:
Stored size: 604 Bytes
Contents
# Read about fixtures at http://api.rubyonrails.org/classes/Fixtures.html <% unless attributes.empty? -%> one: <% attributes.each do |attribute| -%> <%= attribute.name %>: <%= attribute.default %> <% end -%> two: <% attributes.each do |attribute| -%> <%= 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
12 entries across 12 versions & 2 rubygems