aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEileen M. Uchitelle <eileencodes@gmail.com>2016-01-04 15:52:23 -0500
committerEileen M. Uchitelle <eileencodes@gmail.com>2016-01-04 15:52:23 -0500
commit9fb4efedfc6409eaf59a8a55771eecacbb9f5c71 (patch)
tree87c1be0ed8fd74a3ee44ea784c83e31c3a6c0e5a
parente165f7fa6044926796c9d9a8bb9a81bc78431d4f (diff)
parent4675a15a38f6373f417710ff949f1434c66cf43a (diff)
downloadrails-9fb4efedfc6409eaf59a8a55771eecacbb9f5c71.tar.gz
rails-9fb4efedfc6409eaf59a8a55771eecacbb9f5c71.tar.bz2
rails-9fb4efedfc6409eaf59a8a55771eecacbb9f5c71.zip
Merge pull request #22915 from kamipo/fix_user_name_in_doc
Fix user name in doc [ci skip]
-rw-r--r--activerecord/lib/active_record/relation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/relation.rb b/activerecord/lib/active_record/relation.rb
index 316b0d6308..6aa490908b 100644
--- a/activerecord/lib/active_record/relation.rb
+++ b/activerecord/lib/active_record/relation.rb
@@ -132,7 +132,7 @@ module ActiveRecord
# ==== Examples
#
# users = User.where(name: 'Oscar')
- # users.create # => #<User id: 3, name: "oscar", ...>
+ # users.create # => #<User id: 3, name: "Oscar", ...>
#
# users.create(name: 'fxn')
# users.create # => #<User id: 4, name: "fxn", ...>