1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Link to ActiveModel’s README in "Welcome to Rails"

A link to the README of each module is included in "Welcome to Rails",
only ActiveModel (and ActiveJob, see #17264) are missing.

[ci skip]
This commit is contained in:
claudiob 2014-10-15 04:58:03 -07:00
parent e3207bdbba
commit b0ecbc8e11

View file

@ -13,10 +13,10 @@ Person, Post, etc.) and encapsulates the business logic that is 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
methods. Although most Rails models are backed by a database, models can also methods. You can read more about Active Record in its [README](activerecord/README.rdoc).
be ordinary Ruby classes, or Ruby classes that implement a set of interfaces Although most Rails models are backed by a database, models can also be ordinary
as provided by the Active Model module. You can read more about Active Record Ruby classes, or Ruby classes that implement a set of interfaces as provided by
in its [README](activerecord/README.rdoc). the Active Model module. You can read more about Active Model in its [README](activemodel/README.rdoc).
The _Controller layer_ is responsible for handling incoming HTTP requests and The _Controller layer_ is responsible for handling incoming HTTP requests and
providing a suitable response. Usually this means returning HTML, but Rails controllers providing a suitable response. Usually this means returning HTML, but Rails controllers