Method: Sequel::Plugins::ForbidLazyLoad::InstanceMethods#forbid_lazy_load

Defined in:
lib/sequel/plugins/forbid_lazy_load.rb

#forbid_lazy_loadObject

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

[View source]

153
154
155
156
# File 'lib/sequel/plugins/forbid_lazy_load.rb', line 153

def forbid_lazy_load
  @forbid_lazy_load = true
  self
end