clarify how to get old-style json without needing a monkey-patch

This commit is contained in:
Chuck Vose 2012-02-15 10:39:49 -08:00
parent 2b2f3e62e8
commit a0e08377fa

View File

@ -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