Advertisement
Guest User

Untitled

a guest
Oct 1st, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. # config/application.rb
  2. module RailsApp
  3. class Application < Rails::Application
  4. ActiveSupport::Notifications.subscribe('load_config_initializer.railties') do |*args|
  5. event = ActiveSupport::Notifications::Event.new(*args)
  6. puts "Loaded initializer #{event.payload[:initializer]} (#{event.duration}ms)"
  7. end
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement