--- !ruby/object:RI::ClassDescription 
attributes: []

class_methods: 
- !ruby/object:RI::MethodSummary 
  name: apply
- !ruby/object:RI::MethodSummary 
  name: configure
comment: 
- !ruby/struct:SM::Flow::P 
  body: The lazy_attributes plugin allows users to easily set that some attributes should not be loaded by default when loading model objects. If the attribute is needed after the instance has been retrieved, a database query is made to retreive the value of the attribute.
- !ruby/struct:SM::Flow::P 
  body: "This plugin depends on the identity_map and tactical_eager_loading plugin, and allows you to eagerly load lazy attributes for all objects retrieved with the current object. So the following code should issue one query to get the albums and one query to get the reviews for all of those albums:"
- !ruby/struct:SM::Flow::VERB 
  body: "  Album.plugin :lazy_attributes, :review\n  Sequel::Model.with_identity_map do\n    Album.filter{id&lt;100}.all do |a|\n      a.review\n    end\n  end\n"
constants: []

full_name: Sequel::Plugins::LazyAttributes
includes: []

instance_methods: []

name: LazyAttributes
superclass: 
