class

ActionView::I18nProxy

v5.2.3 - Show latest stable - Superclass: I18n::Config

This is a class to fix I18n global state. Whenever you provide I18n.locale during a request, it will trigger the lookup_context and consequently expire the cache.

Attributes

[R]lookup_context
[R]original_config

Files

  • actionview/lib/action_view/rendering.rb