Module: Uberloader::Preloader
- Defined in:
- lib/uberloader/preloader/v6.rb,
lib/uberloader/preloader/v7.rb
Class Method Summary collapse
Class Method Details
.call(records, association, scope = nil) ⇒ Object
3 4 5 6 |
# File 'lib/uberloader/preloader/v6.rb', line 3 def self.call(records, association, scope = nil) ::ActiveRecord::Associations::Preloader.new .preload(records, association, scope) end |