aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/base.rb
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2009-10-05 15:27:40 -0300
committerEmilio Tagua <miloops@gmail.com>2009-10-05 15:27:40 -0300
commit23c168a4fdd5a8f2191283d1d5c626c348fb6ae0 (patch)
treefc1d26740b2605ef4433f1140f811c904b7d7491 /activerecord/lib/active_record/base.rb
parent1daceeb838dccfd47547dedea67eb22e7c06c5a9 (diff)
downloadrails-23c168a4fdd5a8f2191283d1d5c626c348fb6ae0.tar.gz
rails-23c168a4fdd5a8f2191283d1d5c626c348fb6ae0.tar.bz2
rails-23c168a4fdd5a8f2191283d1d5c626c348fb6ae0.zip
Initial documentation to Base#all.
Diffstat (limited to 'activerecord/lib/active_record/base.rb')
-rwxr-xr-xactiverecord/lib/active_record/base.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb
index 668506c01a..8ea6c69fc5 100755
--- a/activerecord/lib/active_record/base.rb
+++ b/activerecord/lib/active_record/base.rb
@@ -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!