提交 bba832d4 编写于 作者: X Xavier Noria

rewords a bit README.md [ci skip]

[LinkedRach, Daniel Colson, Xavier Noria]
上级 4f342ea3
...@@ -6,10 +6,10 @@ create database-backed web applications according to the ...@@ -6,10 +6,10 @@ create database-backed web applications according to the
pattern. pattern.
Understanding the MVC pattern is key to understanding Rails. MVC divides your 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 Person, Post, etc.) and encapsulates the business logic specific to
your application. In Rails, database-backed model classes are derived from your application. In Rails, database-backed model classes are derived from
`ActiveRecord::Base`. Active Record allows you to present the data from `ActiveRecord::Base`. Active Record allows you to present the data from
database rows as objects and embellish these data objects with business logic database rows as objects and embellish these data objects with business logic
...@@ -65,7 +65,7 @@ and may also be used independently outside Rails. ...@@ -65,7 +65,7 @@ and may also be used independently outside Rails.
Run with `--help` or `-h` for options. 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!" "Yay! You’re on Rails!"
5. Follow the guidelines to start developing your application. You may find 5. Follow the guidelines to start developing your application. You may find
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册