Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

#none documentation updated [ci skip]

  • Loading branch information...
commit 2fb582f303c7337ec0aeae81e53e99816860c6f1 1 parent da5cb3b
@akshay-vishnoi akshay-vishnoi authored chancancode committed
Showing with 4 additions and 5 deletions.
  1. +4 −5 activerecord/lib/active_record/relation/query_methods.rb
View
9 activerecord/lib/active_record/relation/query_methods.rb
@@ -609,12 +609,11 @@ def lock!(locks = true) # :nodoc:
self
end
- # Returns a chainable relation with zero records, specifically an
- # instance of the <tt>ActiveRecord::NullRelation</tt> class.
+ # Returns a chainable relation with zero records.
#
- # The returned <tt>ActiveRecord::NullRelation</tt> inherits from Relation and implements the
- # Null Object pattern. It is an object with defined null behavior and always returns an empty
- # array of records without querying the database.
+ # The returned relation implements the Null Object pattern. It is an
+ # object with defined null behavior and always returns an empty array of
+ # records without querying the database.
#
# Any subsequent condition chained to the returned relation will continue
# generating an empty relation and will not fire any query to the database.
Please sign in to comment.
Something went wrong with that request. Please try again.