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'))