mirror of
https://github.com/mperham/sidekiq.git
synced 2022-11-09 13:52:34 -05:00
Added a comment to describe reason for NameError rescuing in core_ext.
This commit is contained in:
parent
6d3a206ffe
commit
65bafb18e6
1 changed files with 1 additions and 1 deletions
|
@ -90,7 +90,7 @@ end
|
|||
|
||||
begin
|
||||
require 'active_support/core_ext/string/inflections'
|
||||
rescue LoadError, NameError
|
||||
rescue LoadError, NameError # NameError is necessary to run Sidekiq unofficially on Rails 2.3
|
||||
class String
|
||||
def constantize
|
||||
names = self.split('::')
|
||||
|
|
Loading…
Add table
Reference in a new issue