application starting in development on http://0.0.0.0:3000 => Run `rails server -h` for more startup options => Notice: server is listening on all interfaces (0.0.0.0). Consider using 127.0.0.1 (--binding option) => Ctrl-C to shutdown server [2015-03-21 10:29:23] INFO WEBrick 1.3.1 [2015-03-21 10:29:23] INFO ruby 2.2.1 (2015-02-26) [x86_64-darwin14] [2015-03-21 10:29:23] INFO WEBrick::HTTPServer#start: pid=42401 port=3000
original_method = :"_untraced_method_#{method}" return if method_defined?(original_method) alias_method original_method, method define_method method do |*args, &block| ActiveSupport::Notifications.instrument("performance.#{name}") do send(original_method, *args, &block) end end end end