[ci skip] Fix broken links on RDOC_MAIN.rdoc
This commit is contained in:
parent
e936b88d4c
commit
4348c38b84
|
@ -15,11 +15,11 @@ application into three layers: Model, View, and Controller, each with a specific
|
||||||
The <em><b>Model layer</b></em> represents the domain model (such as Account, Product,
|
The <em><b>Model layer</b></em> represents the domain model (such as Account, Product,
|
||||||
Person, Post, etc.) and encapsulates the business logic 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
|
||||||
<tt>ActiveRecord::Base</tt>. {Active Record}[link:files/activerecord/README_rdoc.html] allows you to present the data from
|
<tt>ActiveRecord::Base</tt>. {Active Record}[link:/files/activerecord/README_rdoc.html] 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 be ordinary
|
methods. Although most \Rails models are backed by a database, models can also be ordinary
|
||||||
Ruby classes, or Ruby classes that implement a set of interfaces as provided by
|
Ruby classes, or Ruby classes that implement a set of interfaces as provided by
|
||||||
the {Active Model}[link:files/activemodel/README_rdoc.html] module.
|
the {Active Model}[link:/files/activemodel/README_rdoc.html] module.
|
||||||
|
|
||||||
== Controller layer
|
== Controller layer
|
||||||
|
|
||||||
|
@ -29,7 +29,7 @@ can also generate XML, JSON, PDFs, mobile-specific views, and more. Controllers
|
||||||
manipulate models and render view templates in order to generate the appropriate HTTP response.
|
manipulate models and render view templates in order to generate the appropriate HTTP response.
|
||||||
In \Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
|
In \Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and
|
||||||
controller classes are derived from <tt>ActionController::Base</tt>. Action Dispatch and Action Controller
|
controller classes are derived from <tt>ActionController::Base</tt>. Action Dispatch and Action Controller
|
||||||
are bundled together in {Action Pack}[link:files/actionpack/README_rdoc.html].
|
are bundled together in {Action Pack}[link:/files/actionpack/README_rdoc.html].
|
||||||
|
|
||||||
== View layer
|
== View layer
|
||||||
|
|
||||||
|
@ -37,19 +37,19 @@ The <em><b>View layer</b></em> is composed of "templates" that are responsible f
|
||||||
appropriate representations of your application's resources. Templates can
|
appropriate representations of your application's resources. Templates can
|
||||||
come in a variety of formats, but most view templates are \HTML with embedded
|
come in a variety of formats, but most view templates are \HTML with embedded
|
||||||
Ruby code (ERB files). Views are typically rendered to generate a controller response,
|
Ruby code (ERB files). Views are typically rendered to generate a controller response,
|
||||||
or to generate the body of an email. In \Rails, View generation is handled by {Action View}[link:files/actionview/README_rdoc.html].
|
or to generate the body of an email. In \Rails, View generation is handled by {Action View}[link:/files/actionview/README_rdoc.html].
|
||||||
|
|
||||||
== Frameworks and libraries
|
== Frameworks and libraries
|
||||||
|
|
||||||
{Active Record}[link:files/activerecord/README_rdoc.html], {Active Model}[link:files/activemodel/README_rdoc.html],
|
{Active Record}[link:/files/activerecord/README_rdoc.html], {Active Model}[link:/files/activemodel/README_rdoc.html],
|
||||||
{Action Pack}[link:files/actionpack/README_rdoc.html], and {Action View}[link:files/actionview/README_rdoc.html] can each be used independently outside \Rails.
|
{Action Pack}[link:/files/actionpack/README_rdoc.html], and {Action View}[link:/files/actionview/README_rdoc.html] can each be used independently outside \Rails.
|
||||||
In addition to that, \Rails also comes with {Action Mailer}[link:files/actionmailer/README_rdoc.html], a library
|
In addition to that, \Rails also comes with {Action Mailer}[link:/files/actionmailer/README_rdoc.html], a library
|
||||||
to generate and send emails; {Action Mailbox}[link:files/actionmailbox/README_md.html], a library to receive emails within a Rails application;
|
to generate and send emails; {Action Mailbox}[link:/files/actionmailbox/README_md.html], a library to receive emails within a Rails application;
|
||||||
{Active Job}[link:files/activejob/README_md.html], a framework for declaring jobs and making them run on a variety of queueing
|
{Active Job}[link:/files/activejob/README_md.html], a framework for declaring jobs and making them run on a variety of queueing
|
||||||
backends; {Action Cable}[link:files/actioncable/README_md.html], a framework to
|
backends; {Action Cable}[link:/files/actioncable/README_md.html], a framework to
|
||||||
integrate WebSockets with a \Rails application; {Active Storage}[link:files/activestorage/README_md.html],
|
integrate WebSockets with a \Rails application; {Active Storage}[link:/files/activestorage/README_md.html],
|
||||||
a library to attach cloud and local files to \Rails applications; {Action Text}[link:files/actiontext/README_md.html], a library to handle rich text content;
|
a library to attach cloud and local files to \Rails applications; {Action Text}[link:/files/actiontext/README_md.html], a library to handle rich text content;
|
||||||
and {Active Support}[link:files/activesupport/README_rdoc.html], a collection
|
and {Active Support}[link:/files/activesupport/README_rdoc.html], a collection
|
||||||
of utility classes and standard library extensions that are useful for \Rails,
|
of utility classes and standard library extensions that are useful for \Rails,
|
||||||
and may also be used independently outside \Rails.
|
and may also be used independently outside \Rails.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue