Permalink
Browse files

Merge pull request #27855 from kevinzwhuang/finder-methods-typo-fix

Fix typo about sort in finder_methods.rb
  • Loading branch information...
eileencodes committed Jan 31, 2017
1 parent 93a4449 commit 4277047018af90d3f6ba5ec2f7ead7b9d6d11040
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/relation/finder_methods.rb
@@ -17,8 +17,8 @@ module FinderMethods
# Person.where("administrator = 1").order("created_on DESC").find(1)
#
# NOTE: The returned records may not be in the same order as the ids you
- # provide since database rows are unordered. You'd need to provide an explicit QueryMethods#order
- # option if you want the results are sorted.
+ # provide since database rows are unordered. You will need to provide an explicit QueryMethods#order
+ # option if you want the results to be sorted.
#
# ==== Find with lock
#

0 comments on commit 4277047

Please sign in to comment.