diff --git a/railties/RDOC_MAIN.rdoc b/railties/RDOC_MAIN.rdoc index 44647b6212..08d0ac472d 100644 --- a/railties/RDOC_MAIN.rdoc +++ b/railties/RDOC_MAIN.rdoc @@ -24,9 +24,9 @@ the {Active Model}[link:files/activemodel/README_rdoc.html] module. == Controller layer The Controller layer is responsible for handling incoming HTTP requests and -providing a suitable response. Usually this means returning \HTML, but \Rails controllers +providing a suitable response. Usually, this means returning \HTML, but \Rails controllers can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers load and -manipulate models, and render view templates in order to generate the appropriate HTTP response. +manipulate models and render view templates in order to generate the appropriate HTTP response. In \Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and controller classes are derived from ActionController::Base. Action Dispatch and Action Controller are bundled together in {Action Pack}[link:files/actionpack/README_rdoc.html]. @@ -72,7 +72,7 @@ and may also be used independently outside \Rails. Run with --help or -h for options. -4. Go to http://localhost:3000 and you'll see: "Yay! You’re on \Rails!" +4. Go to http://localhost:3000, and you'll see: "Yay! You’re on \Rails!" 5. Follow the guidelines to start developing your application. You may find the following resources handy: diff --git a/railties/README.rdoc b/railties/README.rdoc index 13270dd424..2a72b46ae5 100644 --- a/railties/README.rdoc +++ b/railties/README.rdoc @@ -8,7 +8,6 @@ Railties is responsible for gluing all frameworks together. Overall, it: * and provides the Rails generators core. - == Download The latest version of Railties can be installed with RubyGems: