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