From 96a943a8acf451d3aa8bed82c71a168796081e57 Mon Sep 17 00:00:00 2001 From: Pavel Pravosud Date: Wed, 24 Apr 2013 19:53:09 +0700 Subject: [PATCH] Small readme fix --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index ba9059c..35838b2 100644 --- a/README.md +++ b/README.md @@ -81,7 +81,7 @@ You can also extract attributes from array directly. ``` ruby # @people = People.all -json.array! @people :id :name +json.array! @people, :id, :name # => [ { "id": 1, "name": "David" }, { "id": 2, "name": "Jamie" } ] ```