class method
self.cached_fixtures
Ruby on Rails 8.1.2
Since v4.0.13Signature
self.cached_fixtures(connection_pool, keys_to_fetch = nil)
No documentation comment.
Parameters
-
connection_poolreq -
keys_to_fetchopt = nil
Source
# 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
Defined in activerecord/lib/active_record/fixtures.rb line 568
· View on GitHub
· Improve this page
· Find usages on GitHub
Defined in ActiveRecord::FixtureSet