Skip to content
Browse files

fix bug in usage example of #unscoped

  • Loading branch information...
1 parent 4a6855e commit 2bfeda3f0905e01bcdebdb8814f6dfb3d95b384c Corin Langosch committed May 11, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 activerecord/lib/active_record/base.rb
View
2 activerecord/lib/active_record/base.rb
@@ -895,7 +895,7 @@ def arel_engine
# 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>

0 comments on commit 2bfeda3

Please sign in to comment.
Something went wrong with that request. Please try again.