module Sequel::Plugins::ForbidLazyLoad::InstanceMethods

  1. lib/sequel/plugins/forbid_lazy_load.rb

Methods

Public Instance

  1. allow_lazy_load
  2. forbid_lazy_load

Public Instance methods

allow_lazy_load()

Set this model instance to allow lazy loading of associations.

[show source]
    # 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()

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

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