method
fetch
rails latest stable - Class:
ActiveRecord::Type::TypeMap
fetch(lookup_key, &block)public
No documentation available.
# File activerecord/lib/active_record/type/type_map.rb, line 18
def fetch(lookup_key, &block)
@cache.fetch_or_store(lookup_key) do
perform_fetch(lookup_key, &block)
end
end