Methods

Files

Class/Module Index [+]

Quicksearch

Sequel::Plugins::TacticalEagerLoading::InstanceMethods

Attributes

retrieved_by[RW]

The dataset that retrieved this object, set if the object was reteived via Dataset#all.

retrieved_with[RW]

All model objects retrieved with this object, set if the object was reteived via Dataset#all.

Public Instance Methods

marshallable!() click to toggle source

Remove retrieved_by and retrieved_with when marshalling. retrieved_by contains unmarshallable objects, and retrieved_with can be very large and is not helpful without retrieved_by.

# File lib/sequel/plugins/tactical_eager_loading.rb, line 41
def marshallable!
  @retrieved_by = nil
  @retrieved_with = nil
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.