Created
December 17, 2019 15:42
-
-
Save sata/242c9e2b49defdcbe373f8813ae358b1 to your computer and use it in GitHub Desktop.
debugging active resource entries
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ActiveSupport::Notifications.subscribe('request.active_resource') do |name, start, finish, id, payload| | |
p "#{payload[:method]} #{payload[:request_uri]} => #{payload[:result].class.name}" | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment