aboutsummaryrefslogtreecommitdiffstats
path: root/README.rdoc
diff options
context:
space:
mode:
authorJeff Cohen <jeff@purpleworkshops.com>2011-05-25 07:31:45 -0500
committerJeff Cohen <jeff@purpleworkshops.com>2011-05-25 07:31:45 -0500
commit727a5a7c82c049f93cac12fcddeb96a606fb5989 (patch)
tree8a4e2f6661a816ba1d63166a0f21ab0551f6ee2b /README.rdoc
parent31bb347e77f4def4cbc68eeb4d68af8867ae359d (diff)
downloadrails-727a5a7c82c049f93cac12fcddeb96a606fb5989.tar.gz
rails-727a5a7c82c049f93cac12fcddeb96a606fb5989.tar.bz2
rails-727a5a7c82c049f93cac12fcddeb96a606fb5989.zip
Replace old wording about http requests
Diffstat (limited to 'README.rdoc')
-rw-r--r--README.rdoc8
1 files changed, 4 insertions, 4 deletions
diff --git a/README.rdoc b/README.rdoc
index b562a20a6f..5abc6f927c 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -20,10 +20,10 @@ can also be ordinary Ruby classes, or Ruby classes that implement a set of inter
provided by the ActiveModel module. You can read more about Active Record in its
{README}[link:files/activerecord/README_rdoc.html].
-The Controller layer handles incoming requests HTTP requests (such as Save New Account,
-Update Product, Show Post). Controllers are responsible for providing a suitable response
-back to the client (usually a web browser, but possibly an JSON or XML API client, etc.).
-Controllers manipulate models and render the appropriate view templates to generate the HTTP response.
+The Controller layer is responsible for handling incoming HTTP requests and providing a
+suitable response. Usually this means returning HTML, but Rails controllers can also
+generate XML, JSON, PDFs, mobile-specific views, and more. Controllers manipulate models
+and render view templates in order to generate the appropriate HTTP response.
In Rails, the Controller and View layers are handled together by Action Pack.
These two layers are bundled in a single package due to their heavy interdependence.