method

fetch

Importance_0
v6.0.0 - Show latest stable - 0 notes - Class: TypeMap
fetch(lookup_key, *args, &block) public

No documentation

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

Hide source
# File activerecord/lib/active_record/type/type_map.rb, line 19
      def fetch(lookup_key, *args, &block)
        @cache[lookup_key].fetch_or_store(args) do
          perform_fetch(lookup_key, *args, &block)
        end
      end
Register or log in to add new notes.