Skip to content

Commit

Permalink
This Fixes the logging in issue after installation.
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Vikrant Shete committed Jan 13, 2014
1 parent aef532b commit 054eebe
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions db/seeds_minimal.rb
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit 054eebe

Please sign in to comment.