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
2 parents 3488f08 + 0c7523a commit 898d8787198f08b6ea02dc836a8cd90399e01985
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 898d878

Please sign in to comment.