Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #509 from gucki/master

fix bug in usage example of #unscoped
  • Loading branch information...
commit 6d51f9b98c39e13422ba321d2d5e18734895ebb2 2 parents 4a6855e + 2bfeda3
Jon Leighton jonleighton authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  activerecord/lib/active_record/base.rb
2  activerecord/lib/active_record/base.rb
View
@@ -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>
Please sign in to comment.
Something went wrong with that request. Please try again.