diff options
author | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
---|---|---|
committer | yuuji.yaginuma <yuuji.yaginuma@gmail.com> | 2016-12-03 15:28:59 +0900 |
commit | d71f289fb29d7818620725346ed42ea6952708fa (patch) | |
tree | dd6a495483a386d9cf1da0d20581bd4b5c3b81f0 /activesupport/lib/active_support/notifications.rb | |
parent | 4e73ffa9b45904492815f8f67d4695ef719e0350 (diff) | |
download | rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.gz rails-d71f289fb29d7818620725346ed42ea6952708fa.tar.bz2 rails-d71f289fb29d7818620725346ed42ea6952708fa.zip |
stop using removed `render :text`
Follow up to 79a5ea9eadb4d43b62afacedc0706cbe88c54496
Diffstat (limited to 'activesupport/lib/active_support/notifications.rb')
-rw-r--r-- | activesupport/lib/active_support/notifications.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activesupport/lib/active_support/notifications.rb b/activesupport/lib/active_support/notifications.rb index bae5f067ae..2df819e554 100644 --- a/activesupport/lib/active_support/notifications.rb +++ b/activesupport/lib/active_support/notifications.rb @@ -13,7 +13,7 @@ module ActiveSupport # To instrument an event you just need to do: # # ActiveSupport::Notifications.instrument('render', extra: :information) do - # render text: 'Foo' + # render plain: 'Foo' # end # # That first executes the block and then notifies all subscribers once done. @@ -48,7 +48,7 @@ module ActiveSupport # The block is saved and will be called whenever someone instruments "render": # # ActiveSupport::Notifications.instrument('render', extra: :information) do - # render text: 'Foo' + # render plain: 'Foo' # end # # event = events.first |