diff options
author | AvnerCohen <israbirding@gmail.com> | 2012-11-10 22:15:13 +0200 |
---|---|---|
committer | AvnerCohen <israbirding@gmail.com> | 2012-11-10 22:15:13 +0200 |
commit | 8553b7ac2f5388271c6c1caaf35c66e997f95cc3 (patch) | |
tree | 4ab7239601031d52d18762b30fad31087ccc5f7a /activesupport | |
parent | 890da5149df19c54124929ff8b533014b6b46e69 (diff) | |
download | rails-8553b7ac2f5388271c6c1caaf35c66e997f95cc3.tar.gz rails-8553b7ac2f5388271c6c1caaf35c66e997f95cc3.tar.bz2 rails-8553b7ac2f5388271c6c1caaf35c66e997f95cc3.zip |
1.9 hash syntax in activesupport
Diffstat (limited to 'activesupport')
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index 099117cebb..705a4693b7 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -84,15 +84,15 @@ module ActiveSupport # 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 { - # :controller=>"Devise::SessionsController", - # :action=>"new", - # :params=>{"action"=>"new", "controller"=>"devise/sessions"}, - # :format=>:html, - # :method=>"GET", - # :path=>"/login/sign_in", - # :status=>200, - # :view_runtime=>279.3080806732178, - # :db_runtime=>40.053 + # controller: "Devise::SessionsController", + # action: "new", + # params: {"action"=>"new", "controller"=>"devise/sessions"}, + # format: :html, + # method: "GET", + # path: "/login/sign_in", + # status: 200, + # view_runtime: 279.3080806732178, + # db_runtime: 40.053 # } # # You can also subscribe to all events whose name matches a certain regexp: |