Module: Jat::Plugins::BaseActiverecordPreloads

Defined in:
lib/jat/plugins/base/base_activerecord_preloads/lib/preloader.rb,
lib/jat/plugins/base/base_activerecord_preloads/base_activerecord_preloads.rb

Defined Under Namespace

Modules: InstanceMethods Classes: ActiverecordArray, ActiverecordObject, ActiverecordRelation, Loader, Preloader

Class Method Summary collapse

Class Method Details

.load(jat_class, **_opts) ⇒ Object



12
13
14
# File 'lib/jat/plugins/base/base_activerecord_preloads/base_activerecord_preloads.rb', line 12

def self.load(jat_class, **_opts)
  jat_class.include(InstanceMethods)
end

.plugin_nameObject



8
9
10
# File 'lib/jat/plugins/base/base_activerecord_preloads/base_activerecord_preloads.rb', line 8

def self.plugin_name
  :base_activerecord_preloads
end