From 7460e5ed241948d40984133475f4fbeb5c6caf41 Mon Sep 17 00:00:00 2001 From: Sam Date: Wed, 19 Mar 2014 09:30:17 +1100 Subject: [PATCH] BUGFIX: dupe topic names could booby trap seeding --- db/fixtures/500_lounge_category.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/fixtures/500_lounge_category.rb b/db/fixtures/500_lounge_category.rb index 675dc9ccb29..a711f3a21b6 100644 --- a/db/fixtures/500_lounge_category.rb +++ b/db/fixtures/500_lounge_category.rb @@ -16,7 +16,8 @@ unless Rails.env.test? raw: I18n.t('vip_category_description'), title: I18n.t('category.topic_prefix', category: lounge.name), category: lounge.name, - archetype: Archetype.default + archetype: Archetype.default, + skip_validations: true ) post = creator.create