From bc864aa7abb674ed71402bed5df68eec2e278073 Mon Sep 17 00:00:00 2001 From: Yoshiyuki Hirano Date: Sun, 8 Apr 2018 05:50:02 +0900 Subject: [PATCH] rewords a bit RDOC_MAIN.rdoc [ci skip] * Same change as bba832d --- railties/RDOC_MAIN.rdoc | 4 ++-- 1 file 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 Model layer represents your domain model (such as Account, Product, +The Model layer 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