Module: ActiveRecord::Futures::FinderMethods::ClassMethods
- Defined in:
- lib/active_record/futures/finder_methods.rb
Instance Method Summary collapse
Instance Method Details
#future_finder_methods ⇒ Object
53 54 55 |
# File 'lib/active_record/futures/finder_methods.rb', line 53 def future_finder_methods original_finder_methods.map { |method| futurize(method) } end |
#original_finder_methods ⇒ Object
49 50 51 |
# File 'lib/active_record/futures/finder_methods.rb', line 49 def original_finder_methods [:find, :first, :last, :exists?, :all] end |