From 0da83d6c8df45e277fac200b512459b2664069b8 Mon Sep 17 00:00:00 2001 From: Mike Perham Date: Wed, 13 Nov 2013 19:44:25 -0800 Subject: [PATCH] revert rails 2.3 tweak --- lib/sidekiq/core_ext.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/sidekiq/core_ext.rb b/lib/sidekiq/core_ext.rb index 27d92267..932cfc9a 100644 --- a/lib/sidekiq/core_ext.rb +++ b/lib/sidekiq/core_ext.rb @@ -90,7 +90,7 @@ end begin require 'active_support/core_ext/string/inflections' -rescue LoadError, NameError # NameError is necessary to run Sidekiq unofficially on Rails 2.3 +rescue LoadError class String def constantize names = self.split('::')