aboutsummaryrefslogtreecommitdiffstats
path: root/actionview/test/fixtures/mascot.rb
diff options
context:
space:
mode:
authorYoong Kang Lim <yoongkang.lim@gmail.com>2015-05-06 23:31:49 +1000
committerYoong Kang Lim <yoongkang.lim@gmail.com>2015-05-25 22:13:03 +1000
commit7c988f8030fa5b779041d682c12132ab4da47d1e (patch)
tree565e562c0861aa7dec32452a4a5c6b1a2a392747 /actionview/test/fixtures/mascot.rb
parentd0a370ec93c7e1118f3f58effe2e64712d3492bd (diff)
downloadrails-7c988f8030fa5b779041d682c12132ab4da47d1e.tar.gz
rails-7c988f8030fa5b779041d682c12132ab4da47d1e.tar.bz2
rails-7c988f8030fa5b779041d682c12132ab4da47d1e.zip
Use ActiveSupport::SafeBuffer when flushing content_for
Previously, when content_for is flushed, the content was replaced directly by a new value in ActionView::OutputFlow#set. The problem is this new value passed to the method may not be an instance of ActiveSupport::SafeBuffer. This change forces the value to be set to a new instance of ActiveSupport::SafeBuffer.
Diffstat (limited to 'actionview/test/fixtures/mascot.rb')
0 files changed, 0 insertions, 0 deletions