rails--rails/activerecord/test/fixtures/categories_ordered.yml

8 lines
135 B
YAML

--- !omap
<% 100.times do |i| %>
- fixture_no_<%= i %>:
id: <%= i %>
name: <%= "Category #{i}" %>
type: Category
<% end %>