diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-27 14:03:55 -0700 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2011-08-27 14:03:55 -0700 |
commit | bd0550ef5abfc445e5255972ceb0bb7db7aee96d (patch) | |
tree | 5ef95cd58c7deb13c1680349fcdaa46f4ba81b36 /README.rdoc | |
parent | 827a0fee07eff7ca35ecdf5ca650f2094ad4825a (diff) | |
parent | 8526f727cfadb49e629e7ac3a0bbcbf9a89ec3cd (diff) | |
download | rails-bd0550ef5abfc445e5255972ceb0bb7db7aee96d.tar.gz rails-bd0550ef5abfc445e5255972ceb0bb7db7aee96d.tar.bz2 rails-bd0550ef5abfc445e5255972ceb0bb7db7aee96d.zip |
Merge pull request #2714 from vijaydev/docs
doc fixes
Diffstat (limited to 'README.rdoc')
-rw-r--r-- | README.rdoc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.rdoc b/README.rdoc index f0aa962272..9f017cd05f 100644 --- a/README.rdoc +++ b/README.rdoc @@ -8,12 +8,12 @@ into three layers, each with a specific responsibility. The View layer is composed of "templates" that are responsible for providing appropriate representations of your application's resources. Templates -can come in a variety of formats, but most view templates are HTML with embedded Ruby +can come in a variety of formats, but most view templates are \HTML with embedded Ruby code (.erb files). The Model layer represents your domain model (such as Account, Product, Person, Post) and encapsulates the business logic that is specific to your application. In Rails, -database-backed model classes are derived from ActiveRecord::Base. ActiveRecord allows +database-backed model classes are derived from ActiveRecord::Base. Active Record allows you to present the data from database rows as objects and embellish these data objects with business logic methods. Although most Rails models are backed by a database, models can also be ordinary Ruby classes, or Ruby classes that implement a set of interfaces as @@ -21,7 +21,7 @@ provided by the ActiveModel module. You can read more about Active Record in its {README}[link:/rails/rails/blob/master/activerecord/README.rdoc]. 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 +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. |