From fc494fe2039dd153629c6807b7b06eee2b6853ee Mon Sep 17 00:00:00 2001 From: Nicolas Bally Date: Sun, 3 Nov 2019 17:12:10 +0100 Subject: [PATCH] suite --- app/models/v_contact.rb | 2 +- config/environments/production.rb | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/models/v_contact.rb b/app/models/v_contact.rb index 84a4f27..916591a 100644 --- a/app/models/v_contact.rb +++ b/app/models/v_contact.rb @@ -27,7 +27,7 @@ class VContact < ApplicationRecord v_contacts = VContact.where(:enabled => true) end - v_contacts = v_contacts.limit(2) + #v_contacts = v_contacts.limit(2) v_contacts.each do |vc| puts vc.codemanaginn diff --git a/config/environments/production.rb b/config/environments/production.rb index 8039719..cd16831 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -124,5 +124,6 @@ Rails.application.configure do Rails.application.routes.default_url_options = config.action_mailer.default_url_options = { :host => HOSTNAME, :protocol => 'https' } + config.log_level = :warn end