aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2011-04-10 19:08:20 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2011-04-11 10:10:01 -0700
commit4c30304e159b2a8fafb5b3c5c8b6d996e490e657 (patch)
tree34a77480918e33781ab3dae25c4d6641dfdeb11a /activerecord
parent269cd1b3c55c6ceb69c167ad97c357b56f49cb4b (diff)
downloadrails-4c30304e159b2a8fafb5b3c5c8b6d996e490e657.tar.gz
rails-4c30304e159b2a8fafb5b3c5c8b6d996e490e657.tar.bz2
rails-4c30304e159b2a8fafb5b3c5c8b6d996e490e657.zip
updating the docco for ActiveRecord::Result
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/result.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/result.rb b/activerecord/lib/active_record/result.rb
index 0465b21e88..243012f88c 100644
--- a/activerecord/lib/active_record/result.rb
+++ b/activerecord/lib/active_record/result.rb
@@ -1,9 +1,9 @@
module ActiveRecord
###
- # This class encapsulates a Result returned from calling +exec+ on any
+ # This class encapsulates a Result returned from calling +exec_query+ on any
# database connection adapter. For example:
#
- # x = ActiveRecord::Base.connection.exec('SELECT * FROM foo')
+ # x = ActiveRecord::Base.connection.exec_query('SELECT * FROM foo')
# x # => #<ActiveRecord::Result:0xdeadbeef>
class Result
include Enumerable