From 9ca71c2443937a259be6a38f9e0cbae537182402 Mon Sep 17 00:00:00 2001 From: Silvio Relli Date: Thu, 2 May 2013 16:27:06 +0300 Subject: [PATCH] Update README.md Fixed typo in documentation about the number of options to disable the root element for arrays --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b5348c56..41214c72 100644 --- a/README.md +++ b/README.md @@ -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 -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: