method

details_cache_key

Importance_0
v7.1.3.2 - Show latest stable - 0 notes - Class: ActionView::LookupContext::DetailsKey
details_cache_key(details) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionview/lib/action_view/lookup_context.rb, line 65
      def self.details_cache_key(details)
        @details_keys.fetch(details) do
          if formats = details[:formats]
            unless Template::Types.valid_symbols?(formats)
              details = details.dup
              details[:formats] &= Template::Types.symbols
            end
          end
          @details_keys[details] ||= TemplateDetails::Requested.new(**details)
        end
      end
Register or log in to add new notes.