Please sign in to comment.
Fix fragment cache helper regression on cache miss introduced with 03…
…d01ec. Contains following patches cherry-picked from @lhahne's 3-0-stable branch: * Added tests for the output_buffer returned by CacheHelper (c476a6b) The output_buffer returned by CacheHelper should be html_safe if the original buffer is html_safe. * made sure that the possible new output_buffer created by CacheHelper is of the same type as the original (39a4f67)
- Loading branch information...
Showing with 51 additions and 1 deletion.
|@@ -1,2 +1,3 @@|
|<%= cache do %>This bit's fragment cached<% end %>|
|+<%= 'Ciao' %>|