instance method all

Ruby on Rails 3.1.12

Since v3.0.20 Last seen in v3.2.22.5

Available in: v3.0.20 v3.1.12 v3.2.22.5

Signature

all(*args)

A convenience wrapper for find(:all, *args). You can pass in all the same arguments to this method as you can to find(:all).

Parameters

args rest
Source
# File activerecord/lib/active_record/relation/finder_methods.rb, line 158
    def all(*args)
      args.any? ? apply_finder_options(args.first).to_a : to_a
    end

Defined in activerecord/lib/active_record/relation/finder_methods.rb line 158 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActiveRecord::FinderMethods

Type at least 2 characters to search.

↑↓ navigate · open · esc close