From 4348c38b84fd497486cdcb8db1e106b24f8997f0 Mon Sep 17 00:00:00 2001 From: jean-francois labbe Date: Fri, 30 Apr 2021 09:19:42 +0200 Subject: [PATCH] [ci skip] Fix broken links on RDOC_MAIN.rdoc --- railties/RDOC_MAIN.rdoc | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/railties/RDOC_MAIN.rdoc b/railties/RDOC_MAIN.rdoc index 08d0ac472d..d375e0135e 100644 --- a/railties/RDOC_MAIN.rdoc +++ b/railties/RDOC_MAIN.rdoc @@ -15,11 +15,11 @@ application into three layers: Model, View, and Controller, each with a specific 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}[link:files/activerecord/README_rdoc.html] allows you to present the data from +ActiveRecord::Base. {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 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 -the {Active Model}[link:files/activemodel/README_rdoc.html] module. +the {Active Model}[link:/files/activemodel/README_rdoc.html] module. == 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. In \Rails, incoming requests are routed by Action Dispatch to an appropriate controller, and controller classes are derived from ActionController::Base. 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 @@ -37,19 +37,19 @@ The View layer is composed of "templates" that are responsible f appropriate representations of your application's resources. Templates can 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, -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 -{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. -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; -{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 -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; -and {Active Support}[link:files/activesupport/README_rdoc.html], a collection +{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. +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; +{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 +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; +and {Active Support}[link:/files/activesupport/README_rdoc.html], a collection of utility classes and standard library extensions that are useful for \Rails, and may also be used independently outside \Rails.