Module: EagerRecord::ScopedPreloading::BaseExtensions

Defined in:
lib/eager_record/scoped_preloading.rb

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



15
16
17
# File 'lib/eager_record/scoped_preloading.rb', line 15

def self.included(base)
  base.has_many TEMPORARY_SCOPED_PRELOAD_ASSOCIATION, :readonly => true
end