Revert "unscoped takes care of named_scopes too"

This reverts commit 126fbd7ed8.
This commit is contained in:
Neeraj Singh
2010-11-22 17:32:15 -05:00
parent 7b503f02ca
commit 1c68e55ae5

View File

@@ -856,7 +856,8 @@ module ActiveRecord #:nodoc:
# limit(10) # Fires "SELECT * FROM posts LIMIT 10"
# }
#
# Assuming that <tt>published</tt> is a <tt>named_scope</tt> following two statements are same.
# It is recommended to use block form of unscoped because chaining unscoped with <tt>named_scope</tt>
# does not work. Assuming that <tt>published</tt> is a <tt>named_scope</tt> following two statements are same.
#
# Post.unscoped.published
# Post.published