Class Rubernate::LazyLoader
In: rubernate/lazyload.rb
Parent: Object

Base class and default implementation for lazy loaders. Loads each objects separately.


create   load_lazy  

Public Instance methods

Creates LazyLoader

  • obj_pk - object that holds reference to object that is supposed to be load lazily.
  • p_name - name of reference(or collection) parameter that referes to object that is to be loaded lazily.