method
cached_fixtures
v8.0.0 -
Show latest stable
- Class:
ActiveRecord::FixtureSet
cached_fixtures(connection_pool, keys_to_fetch = nil)public
No documentation available.
# File activerecord/lib/active_record/fixtures.rb, line 568
def cached_fixtures(connection_pool, keys_to_fetch = nil)
if keys_to_fetch
cache_for_connection_pool(connection_pool).values_at(*keys_to_fetch)
else
cache_for_connection_pool(connection_pool).values
end
end