aboutsummaryrefslogtreecommitdiffstats
path: root/railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt
diff options
context:
space:
mode:
authorTore Darell <toredarell@gmail.com>2008-11-03 21:04:30 +0100
committerTore Darell <toredarell@gmail.com>2008-11-03 21:04:30 +0100
commiteb9417139fb256f8061b05c0c2cc491782f95f7e (patch)
tree26651f2047571fb99d80fa5278d1983183e11125 /railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt
parentebeebc8c93ea06be48c44e0e0b4dd17e65c15ee0 (diff)
downloadrails-eb9417139fb256f8061b05c0c2cc491782f95f7e.tar.gz
rails-eb9417139fb256f8061b05c0c2cc491782f95f7e.tar.bz2
rails-eb9417139fb256f8061b05c0c2cc491782f95f7e.zip
Fixed typo, removed TODO from AC guide
Diffstat (limited to 'railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt')
-rw-r--r--railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt4
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt b/railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt
index 493bd4cb43..24efb9f8bd 100644
--- a/railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt
+++ b/railties/doc/guides/source/actioncontroller_basics/request_response_objects.txt
@@ -20,13 +20,11 @@ The request object contains a lot of useful information about the request coming
==== path_parameters, query_parameters and request_parameters ====
-TODO: Does this belong here?
-
Rails collects all of the parameters sent along with the request in the `params` hash, whether they are sent as part of the query string or the post body. The request object has three accessors that give you access to these parameters depending on where they came from. The `query_parameters` hash contains parameters that were sent as part of the query string while the `request_parameters` hash contains parameters sent as part of the post body. The `path_parameters` hash contains parameters that were recognised by the routing as being part of the path leading to this particular controller and action.
=== The response ===
-The response objects is not usually used directly, but is built up during the execution of the action and rendering of the data that is being sent back to the user, but sometimes - like in an after filter - it can be useful to access the response directly. Some of these accessor methods also have setters, allowing you to change their values.
+The response object is not usually used directly, but is built up during the execution of the action and rendering of the data that is being sent back to the user, but sometimes - like in an after filter - it can be useful to access the response directly. Some of these accessor methods also have setters, allowing you to change their values.
* body - This is the string of data being sent back to the client. This is most often HTML.
* status - The HTTP status code for the response, like 200 for a successful request or 404 for file not found.