Initial documentation to Base#all.

This commit is contained in:
Emilio Tagua 2009-10-05 15:27:40 -03:00
parent 1daceeb838
commit 23c168a4fd
1 changed files with 2 additions and 2 deletions

View File

@ -661,8 +661,8 @@ module ActiveRecord #:nodoc:
find(:last, *args)
end
# This is an alias for find(:all). You can pass in all the same arguments to this method as you can
# to find(:all)
# Returns an ActiveRecord::Relation object. You can pass in all the same arguments to this method as you can
# to find(:all).
def all(*args)
options = args.extract_options!