1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionview/lib/action_view/renderer
Rafael França ce58a64f19
Merge pull request #30647 from droptheplot/render-partials-string-locals
Allow usage of strings as locals for partial renderer
2018-04-27 19:17:36 -04:00
..
partial_renderer Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
abstract_renderer.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
partial_renderer.rb Merge pull request #30647 from droptheplot/render-partials-string-locals 2018-04-27 19:17:36 -04:00
renderer.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00
streaming_template_renderer.rb fix(streaming_template_renderer): I18n.locale broken in layout. I18n gem stores the current locale in Thread.current[:local] (see: https://github.com/svenfuchs/i18n/blob/master/lib/i18n.rb#L23). StreamingTemplateRenderer is implemented with Fiber which have its own stack of locals and can not access Thread.current.locals(keys, see: https://ruby-doc.org/core-2.2.0/Thread.html#class-Thread-label-Fiber-local+vs.+Thread-local). 2017-11-25 21:32:02 +01:00
template_renderer.rb Use frozen string literal in actionview/ 2017-07-24 11:53:43 +03:00