From 816a6e44323851be6a82594d0e50f7728d52af50 Mon Sep 17 00:00:00 2001 From: Stas Date: Fri, 23 Oct 2015 15:25:38 +0300 Subject: [PATCH] restore roles into seeds --- db/seeds.rb | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index 3cde4fe20..636ff4361 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -19,7 +19,8 @@ registrar1 = Registrar.where( password: 'password', identity_code: '51001091072', active: true, - registrar: registrar1 + registrar: registrar1, + roles: ['super'] ) @@ -41,7 +42,8 @@ registrar2 = Registrar.where( password: 'password', identity_code: '11412090004', active: true, - registrar: registrar2 + registrar: registrar2, + roles: ['super'] )