aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2018-04-07 22:59:11 +0200
committerGitHub <noreply@github.com>2018-04-07 22:59:11 +0200
commit25949758ce6f2e475bf02bf1af7c3d4b441e3ec2 (patch)
treed05e37d9a41cfe26045a39f800bad54bf6822a4d
parentbba832d48a8bb3c4e262e707b18e3c7fadb5cf55 (diff)
parentbc864aa7abb674ed71402bed5df68eec2e278073 (diff)
downloadrails-25949758ce6f2e475bf02bf1af7c3d4b441e3ec2.tar.gz
rails-25949758ce6f2e475bf02bf1af7c3d4b441e3ec2.tar.bz2
rails-25949758ce6f2e475bf02bf1af7c3d4b441e3ec2.zip
Merge pull request #32489 from yhirano55/update_railties_rdoc_main
rewords a bit RDOC_MAIN.rdoc [ci skip]
-rw-r--r--railties/RDOC_MAIN.rdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/railties/RDOC_MAIN.rdoc b/railties/RDOC_MAIN.rdoc
index c70a9f0ba0..5b4f23521e 100644
--- a/railties/RDOC_MAIN.rdoc
+++ b/railties/RDOC_MAIN.rdoc
@@ -6,9 +6,9 @@ create database-backed web applications according to the
pattern.
Understanding the MVC pattern is key to understanding \Rails. MVC divides your
-application into three layers, each with a specific responsibility.
+application into three layers: Model, View, and Controller, each with a specific responsibility.
-The <em>Model layer</em> represents your domain model (such as Account, Product,
+The <em>Model layer</em> represents the domain model (such as Account, Product,
Person, Post, etc.) and encapsulates the business logic that is specific to
your application. In \Rails, database-backed model classes are derived from
ActiveRecord::Base. Active Record allows you to present the data from