Permalink
Browse files

Merge pull request #13340 from akshay-vishnoi/typo

#none documentation updated [ci skip]
  • Loading branch information...
2 parents 092e113 + db765ec commit 2c9cb495f379856704b3f23da71fb60bc5a332d5 @chancancode chancancode committed Dec 18, 2013
Showing with 4 additions and 5 deletions.
  1. +4 −5 activerecord/lib/active_record/relation/query_methods.rb
@@ -631,12 +631,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.

0 comments on commit 2c9cb49

Please sign in to comment.