aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorAvnerCohen <israbirding@gmail.com>2012-11-10 22:15:13 +0200
committerAvnerCohen <israbirding@gmail.com>2012-11-10 22:15:13 +0200
commit8553b7ac2f5388271c6c1caaf35c66e997f95cc3 (patch)
tree4ab7239601031d52d18762b30fad31087ccc5f7a /activesupport
parent890da5149df19c54124929ff8b533014b6b46e69 (diff)
downloadrails-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.rb18
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: