Permalink
Browse files

Fixed typo, removed TODO from AC guide

  • Loading branch information...
1 parent ebeebc8 commit eb9417139fb256f8061b05c0c2cc491782f95f7e @toretore toretore committed Nov 3, 2008
@@ -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.

0 comments on commit eb94171

Please sign in to comment.