aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorKasper Timm Hansen <kaspth@gmail.com>2016-12-03 11:16:54 +0100
committerGitHub <noreply@github.com>2016-12-03 11:16:54 +0100
commit66076f381aad7383568bf28ae1279b0bc570319c (patch)
treecc86a725f7dafef4c52a065e75273d20dda8e97a /activesupport
parent26ea54aa7d1b0be66d5b99cab6e2f64c80fe4757 (diff)
parentd71f289fb29d7818620725346ed42ea6952708fa (diff)
downloadrails-66076f381aad7383568bf28ae1279b0bc570319c.tar.gz
rails-66076f381aad7383568bf28ae1279b0bc570319c.tar.bz2
rails-66076f381aad7383568bf28ae1279b0bc570319c.zip
Merge pull request #27258 from y-yagi/stop_using_removed_render_text
stop using removed `render :text`
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/notifications.rb4
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