Skip to content
Browse files

minor tidy up of none relation query method

  • Loading branch information...
1 parent 7f8f05f commit 2f97eaea0eade22b70c08dda78cd9601379212bd @rohit rohit committed Feb 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/relation/query_methods.rb
4 activerecord/lib/active_record/relation/query_methods.rb
@@ -206,8 +206,8 @@ def lock(locks = true)
# Any subsequent condition chained to the returned relation will continue
# generating an empty relation and will not fire any query to the database.
- # Used in cases where is needed a method or a scope that could return zero
- # results but the response has to be chainable.
+ # Used in cases where a method or scope could return zero results but the
+ # response needs to be chainable.
# For example:

0 comments on commit 2f97eae

Please sign in to comment.
Something went wrong with that request. Please try again.