module Sequel::Plugins::ForbidLazyLoad::InstanceMethods

Public Instance Methods

allow_lazy_load() click to toggle source

Set this model instance to allow lazy loading of associations.

    # File lib/sequel/plugins/forbid_lazy_load.rb
134 def allow_lazy_load
135   @forbid_lazy_load = false
136   self
137 end
forbid_lazy_load() click to toggle source

Set this model instance to not allow lazy loading of associations.

    # File lib/sequel/plugins/forbid_lazy_load.rb
140 def forbid_lazy_load
141   @forbid_lazy_load = true
142   self
143 end