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
148 def allow_lazy_load
149   @forbid_lazy_load = false
150   self
151 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
154 def forbid_lazy_load
155   @forbid_lazy_load = true
156   self
157 end