From cd21480e8e730a5b9c5958d4dfac5bfdf760199d Mon Sep 17 00:00:00 2001 From: Jeremy Ashkenas Date: Thu, 28 Oct 2010 01:11:04 -0400 Subject: [PATCH] one more out-of-date-doc tweak --- index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.html b/index.html index b9a0bf47..a5a592de 100644 --- a/index.html +++ b/index.html @@ -1275,7 +1275,7 @@ model.save(); // Sends a POST to "/collection/id", with "_method=PUT" def update account = Account.find(params[:id]) account.update_attributes JSON.parse params[:model] - render :json => {:model => account} + render :json => account end