lib/active_support/notifications/instrumenter.rb in activesupport-3.1.12 vs lib/active_support/notifications/instrumenter.rb in activesupport-3.2.0.rc1
- old
+ new
@@ -1,6 +1,5 @@
-require 'active_support/secure_random'
require 'active_support/core_ext/module/delegation'
module ActiveSupport
module Notifications
class Instrumenter
@@ -27,10 +26,10 @@
end
end
private
def unique_id
- ::SecureRandom.hex(10)
+ SecureRandom.hex(10)
end
end
class Event
attr_reader :name, :time, :end, :transaction_id, :payload, :duration