I'm not 100% sure if this is a documentation bug or a bug in AR itself. However the old example in the docs
limit(10) # Fires "SELECT * FROM posts LIMIT 10"
does not work, it has to be
Post.limit(10) # Fires "SELECT * FROM posts LIMIT 10"
fix bug in usage example of #unscoped
@gucki , just FYI, you can commit documentation related fixes in https://github.com/lifo/docrails yourself. They get regularly cherrypicked/synched into master.
Thanks, good to know :)