Skip to content

Instantly share code, notes, and snippets.

@rubysolo
Created April 11, 2014 00:19
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rubysolo/10433932 to your computer and use it in GitHub Desktop.
Save rubysolo/10433932 to your computer and use it in GitHub Desktop.
ActiveSupport::Notifications.subscribe 'halted_callback.action_controller' do |name, start, finish, id, payload|
Rails.logger.warn { '=' * 80 }
Rails.logger.warn { "HALTED CALLBACK: #{ payload[:filter] }" }
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment