Commit 865ca6d1 authored by dgt's avatar dgt

Merge branch...

Merge branch '30-once-created-tags-persist-even-if-they-are-no-longer-used-on-any-page' into 'master'

No more random tags in fixtures

See merge request !249
parents 965266c7 b18f2302
......@@ -4,13 +4,12 @@
##%>
---
<%
srand(314159265359)
page_count = 10
tags = %w(joy trust fear surprise sadness disgust anger happiness love anticipation)
tags += tags.reverse
%>
<% page_count.times do |page_id| %>
<% 2.times do %>
<% tag = tags.sample %>
<% tags.each do |tag| %>
<%= "#{tag}_#{page_id}" %>:
tag: <%= tag %>
taggable_id: <%= page_id %>
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment