Sha256: 6fc4470acca273d031d4d953a82356836a60c4c66e46a5aea2264f642cc1473a
Contents?: true
Size: 635 Bytes
Versions: 32
Compression:
Stored size: 635 Bytes
Contents
# Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/Fixtures.html <% unless attributes.empty? -%> one: <% attributes.each do |attribute| -%> <%= yaml_key_value(attribute.name, attribute.default) %> <% end -%> two: <% attributes.each do |attribute| -%> <%= yaml_key_value(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
32 entries across 32 versions & 5 rubygems