From 852411e569630661a8a7bcbcefb63e921cea70b7 Mon Sep 17 00:00:00 2001 From: Martin Edenhofer Date: Fri, 7 Aug 2015 11:30:24 +0200 Subject: [PATCH] Improved logging. --- lib/fill_db.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/fill_db.rb b/lib/fill_db.rb index d2902f01a..2862d7581 100644 --- a/lib/fill_db.rb +++ b/lib/fill_db.rb @@ -38,6 +38,7 @@ e. g. end else organization_pool = Organization.where(active: true) + puts " take #{organization_pool.length} organizations" end # create agents @@ -99,6 +100,7 @@ e. g. end else customer_pool = Role.where(name: 'Customer').first.users.where(active: true) + puts " take #{customer_pool.length} customers" end # create groups @@ -122,6 +124,7 @@ e. g. end else group_pool = Group.where(active: true) + puts " take #{group_pool.length} groups" end # create tickets