Module: BlueprinterActiveRecord::QueryMethods::Delegates

Defined in:
lib/blueprinter-activerecord/query_methods.rb

Instance Method Summary collapse

Instance Method Details

#preload_blueprint(blueprint = nil, view = :default, use: :preload) ⇒ Object



6
7
8
# File 'lib/blueprinter-activerecord/query_methods.rb', line 6

def preload_blueprint(blueprint = nil, view = :default, use: :preload)
  all.preload_blueprint(blueprint, view, use: use)
end