diff options
author | Akira Matsuda <ronnie@dio.jp> | 2013-07-08 17:20:13 +0900 |
---|---|---|
committer | Akira Matsuda <ronnie@dio.jp> | 2013-07-08 17:21:45 +0900 |
commit | f573df32d43c413a5098721ba6151ff190c23c6c (patch) | |
tree | 0550e61416e654f4617610269c67ac66db5d1ced /guides | |
parent | 874fbdaad67a2698bef9ea512097270a4210a1fc (diff) | |
download | rails-f573df32d43c413a5098721ba6151ff190c23c6c.tar.gz rails-f573df32d43c413a5098721ba6151ff190c23c6c.tar.bz2 rails-f573df32d43c413a5098721ba6151ff190c23c6c.zip |
Fix SyntaxError in guides sample code
[ci skip]
Diffstat (limited to 'guides')
-rw-r--r-- | guides/source/active_record_querying.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/guides/source/active_record_querying.md b/guides/source/active_record_querying.md index 292d6efbb0..18a5342a2f 100644 --- a/guides/source/active_record_querying.md +++ b/guides/source/active_record_querying.md @@ -711,7 +711,7 @@ Post.order('id DESC').limit(20).unscope(:order, :limit) = Post.all You can additionally unscope specific where clauses. For example: ```ruby -Post.where(id: 10).limit(1).unscope(where: :id, :limit).order('id DESC') = Post.order('id DESC') +Post.where(id: 10).limit(1).unscope(:where, :limit).order('id DESC') = Post.order('id DESC') ``` ### `only` |