diff options
author | Xavier Noria <fxn@hashref.com> | 2018-04-07 19:08:49 +0200 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2018-04-07 19:25:54 +0200 |
commit | bba832d48a8bb3c4e262e707b18e3c7fadb5cf55 (patch) | |
tree | 1d467321694b527eaf54827973d2e020342b5df3 | |
parent | 4f342ea3e4e081e9227e540dff01be8795bf05cc (diff) | |
download | rails-bba832d48a8bb3c4e262e707b18e3c7fadb5cf55.tar.gz rails-bba832d48a8bb3c4e262e707b18e3c7fadb5cf55.tar.bz2 rails-bba832d48a8bb3c4e262e707b18e3c7fadb5cf55.zip |
rewords a bit README.md [ci skip]
[LinkedRach, Daniel Colson, Xavier Noria]
-rw-r--r-- | README.md | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -6,10 +6,10 @@ 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, -Person, Post, etc.) and encapsulates the business logic that is specific to +The _Model layer_ represents the domain model (such as Account, Product, +Person, Post, etc.) and encapsulates the business logic specific to your application. In Rails, 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 @@ -65,7 +65,7 @@ and may also be used independently outside Rails. Run with `--help` or `-h` for options. -4. Using a browser, go to `http://localhost:3000` and you'll see: +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 |