Business intelligence made simple
Made method private
Andrew Kane9c849b8a3465
diff --git a/app/models/blazer/check.rb b/app/models/blazer/check.rbindex ff7d3c8b..5eefa67d 100644--- a/app/models/blazer/check.rb+++ b/app/models/blazer/check.rb@@ -16,12 +16,6 @@ module Blazeremails.to_s.downcase.split(",").map(&:strip)end- def fix_emails- # some people like doing ; instead of ,- # but we know what they mean, so let's fix it- self.emails = emails.gsub(";", ",") if emails.present?- end-def update_state(result)check_type =if respond_to?(:check_type)@@ -72,5 +66,13 @@ module Blazerendsave! if changed?end++ private++ def fix_emails+ # some people like doing ; instead of ,+ # but we know what they mean, so let's fix it+ self.emails = emails.gsub(";", ",") if emails.present?+ endendend