diff options
author | Evan Farrar <evanfarrar@gmail.com> | 2011-07-23 13:57:56 -0400 |
---|---|---|
committer | Evan Farrar <evanfarrar@gmail.com> | 2011-07-23 13:57:56 -0400 |
commit | 66b4d112363f3786ecfe4b28d2b00bdcde7e706f (patch) | |
tree | b80bb5179f82cea20a811d4df19361cff8509c4d /railties/guides/source/layouts_and_rendering.textile | |
parent | 662a71b09f025016db223991017df9a179f42ff4 (diff) | |
download | rails-66b4d112363f3786ecfe4b28d2b00bdcde7e706f.tar.gz rails-66b4d112363f3786ecfe4b28d2b00bdcde7e706f.tar.bz2 rails-66b4d112363f3786ecfe4b28d2b00bdcde7e706f.zip |
Changed several instances of British English to be American English
Diffstat (limited to 'railties/guides/source/layouts_and_rendering.textile')
-rw-r--r-- | railties/guides/source/layouts_and_rendering.textile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/guides/source/layouts_and_rendering.textile b/railties/guides/source/layouts_and_rendering.textile index ba45b84242..57485e8986 100644 --- a/railties/guides/source/layouts_and_rendering.textile +++ b/railties/guides/source/layouts_and_rendering.textile @@ -94,7 +94,7 @@ NOTE: The actual rendering is done by subclasses of +ActionView::TemplateHandler h4. Using +render+ -In most cases, the +ActionController::Base#render+ method does the heavy lifting of rendering your application's content for use by a browser. There are a variety of ways to customise the behaviour of +render+. You can render the default view for a Rails template, or a specific template, or a file, or inline code, or nothing at all. You can render text, JSON, or XML. You can specify the content type or HTTP status of the rendered response as well. +In most cases, the +ActionController::Base#render+ method does the heavy lifting of rendering your application's content for use by a browser. There are a variety of ways to customize the behaviour of +render+. You can render the default view for a Rails template, or a specific template, or a file, or inline code, or nothing at all. You can render text, JSON, or XML. You can specify the content type or HTTP status of the rendered response as well. TIP: If you want to see the exact results of a call to +render+ without needing to inspect it in a browser, you can call +render_to_string+. This method takes exactly the same options as +render+, but it returns a string instead of sending a response back to the browser. |