From 28546e84cd8e2e975c783753117534a44d693f09 Mon Sep 17 00:00:00 2001 From: Dave Rothlisberger Date: Thu, 31 Jul 2008 12:46:27 -0500 Subject: Flesh out documentation for the :select option to AR#find --- activerecord/lib/active_record/base.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) mode change 100644 => 100755 activerecord/lib/active_record/base.rb (limited to 'activerecord') diff --git a/activerecord/lib/active_record/base.rb b/activerecord/lib/active_record/base.rb old mode 100644 new mode 100755 index 29c2995334..1838287616 --- a/activerecord/lib/active_record/base.rb +++ b/activerecord/lib/active_record/base.rb @@ -507,7 +507,7 @@ module ActiveRecord #:nodoc: # * :include - Names associations that should be loaded alongside. The symbols named refer # to already defined associations. See eager loading under Associations. # * :select - By default, this is "*" as in "SELECT * FROM", but can be changed if you, for example, want to do a join but not - # include the joined columns. + # include the joined columns. Takes a string with the SELECT SQL fragment (e.g. "id, name"). # * :from - By default, this is the table name of the class, but can be changed to an alternate table name (or even the name # of a database view). # * :readonly - Mark the returned records read-only so they cannot be saved or updated. -- cgit v1.2.3