From 79431f851560bd6497148972aa5f496db4c99232 Mon Sep 17 00:00:00 2001 From: Devin Howard Date: Mon, 25 Jan 2016 11:23:10 +0800 Subject: [PATCH] fix user seeds --- db/seeds.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 3dbfab17..51aa01d9 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -9,7 +9,7 @@ User.new({ code: 'qwertyui', joinedwithcode: 'qwertyui', admin: 'false' -}).save +}).save(validate: false) User.new({ name: 'admin', @@ -18,7 +18,7 @@ User.new({ code: 'iuytrewq', joinedwithcode: 'iuytrewq', admin: 'true' -}).save +}).save(validate: false) ## END USERS ## METACODES