diff --git a/activerecord/lib/active_record/relation/query_methods.rb b/activerecord/lib/active_record/relation/query_methods.rb index 6f464d6ad026aba13c70ff96f1f824c8f1e4c106..b4f21410c1d4c20f0a9e8f77ec7036d24ffe0512 100644 --- a/activerecord/lib/active_record/relation/query_methods.rb +++ b/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: #