From 7a6d8e4ad47d571541762a6c80cc3e1f6831bd40 Mon Sep 17 00:00:00 2001
From: James Miller <bensie@gmail.com>
Date: Wed, 25 Aug 2010 14:55:24 -0700
Subject: to_json => as_json

---
 railties/guides/source/action_view_overview.textile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'railties/guides/source/action_view_overview.textile')

diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile
index e242cdaf73..cd3c0a1b7b 100644
--- a/railties/guides/source/action_view_overview.textile
+++ b/railties/guides/source/action_view_overview.textile
@@ -1380,7 +1380,7 @@ page.insert_html :bottom, 'my_list', '<li>Last item</li>'
 
 h5. literal
 
-Returns an object whose to_json evaluates to the code provided. Use this to pass a literal JavaScript expression as an argument to another JavaScriptGenerator method.
+Returns an object whose as_json evaluates to the code provided. Use this to pass a literal JavaScript expression as an argument to another JavaScriptGenerator method.
 
 h5. redirect_to
 
-- 
cgit v1.2.3

