diff options
author | Eileen M. Uchitelle <eileencodes@users.noreply.github.com> | 2017-01-31 09:07:05 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-31 09:07:05 -0500 |
commit | 898d8787198f08b6ea02dc836a8cd90399e01985 (patch) | |
tree | 7926ef8fe75ed7997b3634fff63a90558bfb6b59 /activerecord/lib | |
parent | 3488f08ce17ebec0374f6b87421e3ac2c739734f (diff) | |
parent | 0c7523a1fee646a26f7f3a938cca20be7c6a33fe (diff) | |
download | rails-898d8787198f08b6ea02dc836a8cd90399e01985.tar.gz rails-898d8787198f08b6ea02dc836a8cd90399e01985.tar.bz2 rails-898d8787198f08b6ea02dc836a8cd90399e01985.zip |
Merge pull request #27855 from kevinzwhuang/finder-methods-typo-fix
Fix typo about sort in finder_methods.rb
Diffstat (limited to 'activerecord/lib')
-rw-r--r-- | activerecord/lib/active_record/relation/finder_methods.rb | 4 |
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 6663bdb244..4548944fe6 100644 --- a/activerecord/lib/active_record/relation/finder_methods.rb +++ b/activerecord/lib/active_record/relation/finder_methods.rb @@ -17,8 +17,8 @@ module ActiveRecord # 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 # |