From 5dc8ffb24da6dd124acfd44d95f64148ca7349b9 Mon Sep 17 00:00:00 2001 From: PCOG sites Date: Tue, 15 Jul 2014 22:31:25 +0200 Subject: [PATCH] Fix for new environment --- report_mailer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/report_mailer.rb b/report_mailer.rb index 7ca45f0..393010d 100644 --- a/report_mailer.rb +++ b/report_mailer.rb @@ -5,6 +5,7 @@ require "state_pattern" project_root = File.dirname(File.absolute_path(__FILE__)) Dir.glob(project_root + "/app/models/*.rb").each{|f| require f} +Dir.glob(project_root + "/app/helpers/SearchingForSyncState.rb").each{|f| require f} Dir.glob(project_root + "/app/helpers/*.rb").each{|f| require f} connection_details = YAML::load(File.open('config/database.yml'))