aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/relation/finder_methods.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/relation/finder_methods.rb b/activerecord/lib/active_record/relation/finder_methods.rb
index e716ce9675..f373714007 100644
--- a/activerecord/lib/active_record/relation/finder_methods.rb
+++ b/activerecord/lib/active_record/relation/finder_methods.rb
@@ -116,7 +116,7 @@ module ActiveRecord
#
# ==== Rails 3
#
- # Person.first # SELECT "users".* FROM "users" LIMIT 1
+ # Person.first # SELECT "people".* FROM "people" LIMIT 1
#
# NOTE: Rails 3 may not +order+ this query by be the primary key.
# The order will depend on the database implementation.
@@ -124,7 +124,7 @@ module ActiveRecord
#
# ==== Rails 4
#
- # Person.first # SELECT "users".* FROM "users" ORDER BY "users"."id" ASC LIMIT 1
+ # Person.first # SELECT "people".* FROM "people" ORDER BY "people"."id" ASC LIMIT 1
#
def first(limit = nil)
if limit