Module: ActiveRecord::Futures::CalculationMethods

Extended by:
ActiveSupport::Concern
Included in:
ActiveRecord::Futures
Defined in:
lib/active_record/futures/calculation_methods.rb

Defined Under Namespace

Modules: ClassMethods

Instance Method Summary collapse

Instance Method Details

#future_pluck(*args, &block) ⇒ Object



6
7
8
# File 'lib/active_record/futures/calculation_methods.rb', line 6

def future_pluck(*args, &block)
  FutureArray.new(record_future(:pluck, *args, &block))
end