1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

1.9 hash syntax in activesupport

This commit is contained in:
AvnerCohen 2012-11-10 22:15:13 +02:00
parent 890da5149d
commit 8553b7ac2f

View file

@ -84,15 +84,15 @@ module ActiveSupport
# resulting in the following output within the logs including a hash with the payload: # resulting in the following output within the logs including a hash with the payload:
# #
# notification: process_action.action_controller 2012-04-13 01:08:35 +0300 2012-04-13 01:08:35 +0300 af358ed7fab884532ec7 { # notification: process_action.action_controller 2012-04-13 01:08:35 +0300 2012-04-13 01:08:35 +0300 af358ed7fab884532ec7 {
# :controller=>"Devise::SessionsController", # controller: "Devise::SessionsController",
# :action=>"new", # action: "new",
# :params=>{"action"=>"new", "controller"=>"devise/sessions"}, # params: {"action"=>"new", "controller"=>"devise/sessions"},
# :format=>:html, # format: :html,
# :method=>"GET", # method: "GET",
# :path=>"/login/sign_in", # path: "/login/sign_in",
# :status=>200, # status: 200,
# :view_runtime=>279.3080806732178, # view_runtime: 279.3080806732178,
# :db_runtime=>40.053 # db_runtime: 40.053
# } # }
# #
# You can also subscribe to all events whose name matches a certain regexp: # You can also subscribe to all events whose name matches a certain regexp: