Methods

Class Index [+]

Quicksearch

Sequel::Plugins::TacticalEagerLoading::DatasetMethods

Private Instance Methods

post_load(objects) click to toggle source

Set the reteived_with and retrieved_by attributes for the object with the current dataset and array of all objects.

    # File lib/sequel/plugins/tactical_eager_loading.rb, line 65
65:         def post_load(objects)
66:           super
67:           objects.each do |o|
68:             next unless o.is_a?(Sequel::Model)
69:             o.retrieved_by = self
70:             o.retrieved_with = objects
71:           end
72:         end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.