From a0e08377fa694d3ef019827b062988d9181d63a8 Mon Sep 17 00:00:00 2001 From: Chuck Vose Date: Wed, 15 Feb 2012 10:39:49 -0800 Subject: [PATCH] clarify how to get old-style json without needing a monkey-patch --- README.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.markdown b/README.markdown index d6fdd29c..cc98aea1 100644 --- a/README.markdown +++ b/README.markdown @@ -49,7 +49,7 @@ This also works with `render_with`, which uses `to_json` under the hood. Also no ## Getting the old version -If you find that your project is already relying on the old rails to_json change `render :json` to `render :text => @your_object.to_json`. +If you find that your project is already relying on the old rails to_json change `render :json` to `render :json => @your_object.to_json`. # Attributes and Associations