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

Fixed couple of typos

This commit is contained in:
Fabrizio Regini 2012-12-27 18:11:21 +01:00
parent 52691c369c
commit e63b752f63

View file

@ -432,7 +432,7 @@ from block args like this:
```ruby ```ruby
ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args| ActiveSupport::Notifications.subscribe "process_action.action_controller" do |*args|
event = ActiveSupport::Notification::Event.new args event = ActiveSupport::Notifications::Event.new *args
event.name # => "process_action.action_controller" event.name # => "process_action.action_controller"
event.duration # => 10 (in milliseconds) event.duration # => 10 (in milliseconds)