Business intelligence made simple
Added fix for Quip bug
Andrew0ac24e261b85
diff --git a/app/controllers/blazer/base_controller.rb b/app/controllers/blazer/base_controller.rbindex 2ec37753..1bf205a5 100644--- a/app/controllers/blazer/base_controller.rb+++ b/app/controllers/blazer/base_controller.rb@@ -30,6 +30,7 @@ module Blazerif var.end_with?("_at")value = Blazer.time_zone.parse(value) rescue nilend+ value.gsub!(" ", "+") if ["start_time", "end_time"].include?(var) # fix for Quip bugstatement.gsub!("{#{var}}", ActiveRecord::Base.connection.quote(value))endend