From a03e2b356c66ddc8809fa2b23a2a7d652f173b8b Mon Sep 17 00:00:00 2001 From: Pratik Naik Date: Tue, 21 Oct 2008 18:33:40 +0100 Subject: Merge with docrails. Also add a rake task to generate guides in your rails application : rake doc:guides The rake task will generate guides inside doc/guides directory of your application. Open index.html to browse. --- .../source/actioncontroller_basics/index.txt | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 railties/doc/guides/source/actioncontroller_basics/index.txt (limited to 'railties/doc/guides/source/actioncontroller_basics/index.txt') diff --git a/railties/doc/guides/source/actioncontroller_basics/index.txt b/railties/doc/guides/source/actioncontroller_basics/index.txt new file mode 100644 index 0000000000..0b884e590b --- /dev/null +++ b/railties/doc/guides/source/actioncontroller_basics/index.txt @@ -0,0 +1,28 @@ +Action Controller basics +======================= + +In this guide you will learn how controllers work and how they fit into the request cycle in your application. You will learn how to make use of the many tools provided by Action Controller to work with the session, cookies and filters and how to use the built-in HTTP authentication and data streaming facilities. In the end, we will take a look at some tools that will be useful once your controllers are ready and working, like how to filter sensitive parameters from the log and how to rescue and deal with exceptions that may be raised during the request. + +include::introduction.txt[] + +include::methods.txt[] + +include::params.txt[] + +include::session.txt[] + +include::cookies.txt[] + +include::filters.txt[] + +include::verification.txt[] + +include::request_response_objects.txt[] + +include::http_auth.txt[] + +include::streaming.txt[] + +include::parameter_filtering.txt[] + +include::rescue.txt[] -- cgit v1.2.3