Module: Squeel::Adapters::ActiveRecord::AssociationPreloadExtensions

Defined in:
lib/squeel/adapters/active_record/3.0/association_preload_extensions.rb

Instance Method Summary collapse

Instance Method Details

#preload_associations(records, associations, preload_options = {}) ⇒ Object



6
7
8
# File 'lib/squeel/adapters/active_record/3.0/association_preload_extensions.rb', line 6

def preload_associations(records, associations, preload_options={})
  super(records, Visitors::PreloadVisitor.new.accept(associations), preload_options)
end