Sha256: cef7d0745c8a8433606d26c1198e8b6a61402426d31ba1c46e0472330c018c91

Contents?: true

Size: 205 Bytes

Versions: 17

Compression:

Stored size: 205 Bytes

Contents

# -*- encoding : utf-8 -*-
ActiveSupport::Notifications.subscribe /^card/ do |name, start, finish, id, payload|
  Rails.logger.debug "#{ (finish - start) * 1000 }ms: #{ name }: #{ payload[:message] }"
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
card-1.16.6 config/initializers/notification.rb
card-1.16.5 config/initializers/notification.rb
card-1.16.4 config/initializers/notification.rb
card-1.16.3 config/initializers/notification.rb
card-1.16.2 config/initializers/notification.rb
card-1.16.1 config/initializers/notification.rb
card-1.16.0 config/initializers/notification.rb
card-1.15.7 config/initializers/notification.rb
card-1.15.6 config/initializers/notification.rb
card-1.15.5 config/initializers/notification.rb
card-1.15.4 config/initializers/notification.rb
card-1.15.3 config/initializers/notification.rb
card-1.15.2 config/initializers/notification.rb
card-1.15.1 config/initializers/notification.rb
card-1.15.0 config/initializers/notification.rb
card-1.15.pre2 config/initializers/notification.rb
card-1.15.pre config/initializers/notification.rb