lib/airbrake/delayed_job/plugin.rb in airbrake-5.0.2 vs lib/airbrake/delayed_job/plugin.rb in airbrake-5.0.3

- old
+ new

@@ -34,10 +34,10 @@ ## # Workaround against JRuby bug: # https://github.com/jruby/jruby/issues/3338 # rubocop:disable Style/ClassAndModuleChildren class Delayed::Backend::ActiveRecord::Job - alias_method :old_to_ary, :to_ary + alias old_to_ary to_ary def to_ary old_to_ary || [self] end end