Merge pull request #291 from silviorelli/patch-1

Update README.md [ci skip]
This commit is contained in:
Steve Klabnik 2013-05-02 07:14:37 -07:00
commit 7a39966e7e

View File

@ -135,7 +135,7 @@ render :json => @posts, :root => "some_posts"
``` ```
You may disable the root element for arrays at the top level, which will result in You may disable the root element for arrays at the top level, which will result in
more concise json. To disable the root element for arrays, you have 3 options: more concise json. To disable the root element for arrays, you have 4 options:
#### 1. Disable root globally for in `ArraySerializer`. In an initializer: #### 1. Disable root globally for in `ArraySerializer`. In an initializer: