module Sequel::Plugins::TacticalEagerLoading::DatasetMethods
Private Instance Methods
post_load(objects)
click to toggle source
Set the retrieved_with and retrieved_by attributes for the object with the current dataset and array of all objects.
Calls superclass method
# File lib/sequel/plugins/tactical_eager_loading.rb, line 117 def post_load(objects) super objects.each do |o| next unless o.is_a?(Sequel::Model) o.retrieved_by = self o.retrieved_with = objects end end