提交 6d51f9b9 编写于 作者: J Jon Leighton

Merge pull request #509 from gucki/master

fix bug in usage example of #unscoped
......@@ -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>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册