Permalink
Browse files

Initial documentation to Base#all.

  • Loading branch information...
1 parent 1daceeb commit 23c168a4fdd5a8f2191283d1d5c626c348fb6ae0 @miloops miloops committed Oct 5, 2009
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/base.rb
@@ -661,8 +661,8 @@ def last(*args)
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!

0 comments on commit 23c168a

Please sign in to comment.