From 054eebe5033696488b6dec28ebc551c7f40afb35 Mon Sep 17 00:00:00 2001 From: Vikrant Shete Date: Mon, 13 Jan 2014 19:24:16 +0530 Subject: [PATCH] This Fixes the logging in issue after installation. The users were not being created because the requied gem blueprint was present in test Now using create insted of make in seeds_minimal.rb --- db/seeds_minimal.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/db/seeds_minimal.rb b/db/seeds_minimal.rb index b9e122e386..8cf61c4874 100644 --- a/db/seeds_minimal.rb +++ b/db/seeds_minimal.rb @@ -1,10 +1,8 @@ # Only the essential records required to run the application -require "#{Rails.root}/test/blueprints" - def create_company Rails.logger.info "Creating company" - company = Company.make(:subdomain=>'jobsworth') + company = Company.create!(:subdomain=>'jobsworth', :name => "Default Company") end def create_admin