1
0
Fork 0
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:
Will Sulzer 2013-11-13 14:55:52 -08:00
parent 6d3a206ffe
commit 65bafb18e6

View file

@ -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('::')