1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

#none documentation updated [ci skip]

This commit is contained in:
Akshay Vishnoi 2013-12-18 11:52:54 +05:30
parent c758093eca
commit db765ec741

View file

@ -631,12 +631,11 @@ module ActiveRecord
self self
end end
# Returns a chainable relation with zero records, specifically an # Returns a chainable relation with zero records.
# instance of the <tt>ActiveRecord::NullRelation</tt> class.
# #
# The returned <tt>ActiveRecord::NullRelation</tt> inherits from Relation and implements the # The returned relation implements the Null Object pattern. It is an
# Null Object pattern. It is an object with defined null behavior and always returns an empty # object with defined null behavior and always returns an empty array of
# array of records without querying the database. # records without querying the database.
# #
# Any subsequent condition chained to the returned relation will continue # Any subsequent condition chained to the returned relation will continue
# generating an empty relation and will not fire any query to the database. # generating an empty relation and will not fire any query to the database.