Sha256: 52c1b4be550b96809b03100859ca1c23e74546586b5abf39d25652ee1f5fd8c4
Contents?: true
Size: 275 Bytes
Versions: 9
Compression:
Stored size: 275 Bytes
Contents
module ActiveRecordCustomPreloader class PreloadWithOptions attr_reader :name, :options def initialize(name, options = {}) @name = name @options = options end def loader_for(klass) klass.custom_loader_for(name, options) end end end
Version data entries
9 entries across 9 versions & 1 rubygems