From c9f38c53dd82a01f3a7a7adf3229f294eb8f7f52 Mon Sep 17 00:00:00 2001 From: jwollert Date: Tue, 5 Apr 2011 19:17:53 +0200 Subject: [PATCH] fixes UR spec --- lib/report.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/report.rb b/lib/report.rb index 7edb134dd1..0924bad1c8 100644 --- a/lib/report.rb +++ b/lib/report.rb @@ -19,7 +19,7 @@ class Report < ActiveRecord::Base end def self.reporting_connection - ConnectionSwitcher.connection + ConnectionSwitcher.connection || connection end def self.chain_initializer