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:
parent
52691c369c
commit
e63b752f63
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue