fix bug in usage example of #unscoped

This commit is contained in:
Corin Langosch
2011-05-11 09:19:12 +02:00
parent 4a6855e183
commit 2bfeda3f09

View File

@@ -895,7 +895,7 @@ module ActiveRecord #:nodoc:
# not use the default_scope:
#
# Post.unscoped {
# limit(10) # Fires "SELECT * FROM posts LIMIT 10"
# Post.limit(10) # Fires "SELECT * FROM posts LIMIT 10"
# }
#
# It is recommended to use block form of unscoped because chaining unscoped with <tt>scope</tt>