Skip to content

Instantly share code, notes, and snippets.

@kidpollo
Created February 27, 2013 10:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kidpollo/5046790 to your computer and use it in GitHub Desktop.
Save kidpollo/5046790 to your computer and use it in GitHub Desktop.
ActiveSupport::Notifications.subscribe do |name, start, finish, id, payload|
Rails.logger.debug(["notification:", name, start, finish, id, payload].join(" "))
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment