view lib/generators/redmine_plugin_model/templates/fixtures.yml @ 469:ae87ae455cfb feature_36

correctly saving authors.
author luisf <luis.figueira@eecs.qmul.ac.uk>
date Fri, 24 Jun 2011 11:23:23 +0100
parents 513646585e45
children
line wrap: on
line source
# 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 -%>