aboutsummaryrefslogtreecommitdiffstats
path: root/railties/guides/source/action_view_overview.textile
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2010-08-26 01:59:31 +0200
committerXavier Noria <fxn@hashref.com>2010-08-26 01:59:31 +0200
commit5dd92726a96025b902e9f9254f3ade30d2364471 (patch)
tree44e4a60a451d43b76e42fff3761d83f53148139c /railties/guides/source/action_view_overview.textile
parentcd0267cd33d1792348f758044a8b3c301b875dcd (diff)
parent366e0fbd8d9bf1b5865edb930e795a17e5547a43 (diff)
downloadrails-5dd92726a96025b902e9f9254f3ade30d2364471.tar.gz
rails-5dd92726a96025b902e9f9254f3ade30d2364471.tar.bz2
rails-5dd92726a96025b902e9f9254f3ade30d2364471.zip
Merge remote branch 'docrails/master'
Diffstat (limited to 'railties/guides/source/action_view_overview.textile')
-rw-r--r--railties/guides/source/action_view_overview.textile2
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/action_view_overview.textile b/railties/guides/source/action_view_overview.textile
index cd3c0a1b7b..e242cdaf73 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 as_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 to_json evaluates to the code provided. Use this to pass a literal JavaScript expression as an argument to another JavaScriptGenerator method.
h5. redirect_to