adds missing associations to dev_seeds

This commit is contained in:
Juanjo Bazán
2016-09-05 13:11:57 +02:00
parent 6d06a59403
commit 40cdeb568e

View File

@@ -330,6 +330,8 @@ tags = Faker::Lorem.words(10)
investment = Budget::Investment.create!(
author: User.reorder("RANDOM()").first,
heading: heading,
group: heading.group,
budget: heading.group.budget,
title: Faker::Lorem.sentence(3).truncate(60),
external_url: Faker::Internet.url,
description: "<p>#{Faker::Lorem.paragraphs.join('</p><p>')}</p>",