Add caching behavior on top of Details.

Methods
#
D
Attributes
[RW] cache
Instance Public methods
disable_cache()

Temporary skip passing the details_key forward.

# File actionpack/lib/action_view/lookup_context.rb, line 82
def disable_cache
  old_value, @cache = @cache, false
  yield
ensure
  @cache = old_value
end
Instance Protected methods
_set_detail(key, value)
# File actionpack/lib/action_view/lookup_context.rb, line 91
def _set_detail(key, value)
  @details = @details.dup if @details_key
  @details_key = nil
  @details[key] = value
end