class method self.cached_fixtures

Ruby on Rails 3.1.12

Since v3.1.12 Last seen in v3.2.22.5

Available in: v3.1.12 v3.2.22.5

Signature

self.cached_fixtures(connection, keys_to_fetch = nil)

No documentation comment.

Parameters

connection req
keys_to_fetch opt = nil
Source
# File activerecord/lib/active_record/fixtures.rb, line 413
    def self.cached_fixtures(connection, keys_to_fetch = nil)
      if keys_to_fetch
        cache_for_connection(connection).values_at(*keys_to_fetch)
      else
        cache_for_connection(connection).values
      end
    end

Defined in activerecord/lib/active_record/fixtures.rb line 413 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::Fixtures

Type at least 2 characters to search.

↑↓ navigate · open · esc close