Skip to content

Commit e8daf30

Browse files
authored
Merge pull request rails#42632 from p8/guides/improved-index-descriptions
Expand guides descriptions for the index
2 parents 31bdab9 + 7b2d183 commit e8daf30

File tree

1 file changed

+102
-23
lines changed

1 file changed

+102
-23
lines changed

guides/source/documents.yaml

Lines changed: 102 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -11,39 +11,66 @@
1111
-
1212
name: Active Record Basics
1313
url: active_record_basics.html
14-
description: This guide will get you started with models, persistence to database, and the Active Record pattern and library.
14+
description: >
15+
Active Record allows your models to interact with the application's
16+
database. This guide will get you started with Active Record models
17+
and persistence to the database.
1518
-
1619
name: Active Record Migrations
1720
url: active_record_migrations.html
18-
description: This guide covers how you can use Active Record migrations to alter your database in a structured and organized manner.
21+
description: >
22+
Migrations are a feature of Active Record that allows you to evolve your
23+
database schema over time. Rather than write schema modifications in pure SQL,
24+
migrations allow you to use a Ruby DSL to describe changes to your tables.
1925
-
2026
name: Active Record Validations
2127
url: active_record_validations.html
22-
description: This guide covers how you can use Active Record validations.
28+
description: >
29+
Validations are used to ensure that only valid data is saved into your
30+
database. This guide teaches you how to validate the state of objects
31+
before they go into the database, using Active Record's validations
32+
feature.
2333
-
2434
name: Active Record Callbacks
2535
url: active_record_callbacks.html
26-
description: This guide covers how you can use Active Record callbacks.
36+
description: >
37+
Callbacks make it possible to write code that will run whenever an
38+
object is created, updated, destroyed, etc. This guide teaches you how
39+
to hook into this object life cycle of Active Record objects.
2740
-
2841
name: Active Record Associations
2942
url: association_basics.html
30-
description: This guide covers all the associations provided by Active Record.
43+
description: >
44+
In Active Record, an association is a connection between two Active
45+
Record models. This guide covers all the associations provided by
46+
Active Record.
3147
-
3248
name: Active Record Query Interface
3349
url: active_record_querying.html
34-
description: This guide covers the database query interface provided by Active Record.
50+
description: >
51+
Instead of using raw SQL to find database records, Active Record
52+
provides better ways to carry out the same operations. This guide
53+
covers different ways to retrieve data from the database using Active
54+
Record.
3555
-
3656
name: Active Model Basics
3757
url: active_model_basics.html
38-
description: This guide covers the use of model classes without Active Record.
58+
description: >
59+
Active Model allows you to create plain Ruby objects that integrate with
60+
Action Pack, but don't need Active Record for database persistence.
61+
Active Model also helps build custom ORMs for use outside of
62+
the Rails framework. This guide provides you with all you need to get
63+
started using Active Model classes.
3964
work_in_progress: true
4065
-
4166
name: Views
4267
documents:
4368
-
4469
name: Action View Overview
4570
url: action_view_overview.html
46-
description: This guide provides an introduction to Action View.
71+
description: >
72+
Action View is responsible for generating the HTML for web responses.
73+
This guide provides an introduction to Action View.
4774
work_in_progress: true
4875
-
4976
name: Layouts and Rendering in Rails
@@ -52,34 +79,55 @@
5279
-
5380
name: Action View Helpers
5481
url: action_view_helpers.html
55-
description: This guide introduces a few of the more common view helpers.
82+
description: >
83+
Action View has helpers for handling everything from formatting dates
84+
and linking to images, to sanitizing and localizing content. This guide
85+
introduces a few of the more common Action View helpers.
5686
work_in_progress: true
5787
-
5888
name: Action View Form Helpers
5989
url: form_helpers.html
60-
description: Guide to using built-in Form helpers.
90+
description: >
91+
HTML forms can quickly become tedious to write and maintain because of
92+
the need to handle form control naming and its numerous attributes.
93+
Rails does away with this complexity by providing view helpers for
94+
generating form markup.
6195
-
6296
name: Controllers
6397
documents:
6498
-
6599
name: Action Controller Overview
66100
url: action_controller_overview.html
67-
description: This guide covers how controllers work and how they fit into the request cycle in your application. It includes sessions, filters, and cookies, data streaming, and dealing with exceptions raised by a request, among other topics.
101+
description: >
102+
Action Controllers are the core of a web request in Rails.
103+
This guide covers how controllers work and how they fit into the
104+
request cycle of your application. It includes sessions, filters,
105+
cookies, data streaming, and dealing with exceptions raised by a
106+
request, among other topics.
68107
-
69108
name: Rails Routing from the Outside In
70109
url: routing.html
71-
description: This guide covers the user-facing features of Rails routing. If you want to understand how to use routing in your own Rails applications, start here.
110+
description: >
111+
The Rails router recognizes URLs and dispatches them to a controller's
112+
action. This guide covers the user-facing features of Rails routing.
113+
If you want to understand how to use routing in your own Rails
114+
applications, start here.
72115
-
73116
name: Other Components
74117
documents:
75118
-
76119
name: Active Support Core Extensions
77120
url: active_support_core_extensions.html
78-
description: This guide documents the Ruby core extensions defined in Active Support.
121+
description: >
122+
Active Support provides Ruby language extensions, utilities, and other
123+
transversal stuff. It enriches the Ruby language for the development of
124+
Rails applications, and for the development of Ruby on Rails itself.
79125
-
80126
name: Action Mailer Basics
81127
url: action_mailer_basics.html
82-
description: This guide describes how to use Action Mailer to send emails.
128+
description: >
129+
This guide provides you with all you need to get started in sending
130+
emails from your application, and many internals of Action Mailer.
83131
-
84132
name: Action Mailbox Basics
85133
work_in_progress: true
@@ -93,19 +141,34 @@
93141
-
94142
name: Active Job Basics
95143
url: active_job_basics.html
96-
description: This guide provides you with all you need to get started creating, enqueuing, and executing background jobs.
144+
description: >
145+
Active Job is a framework for declaring background jobs and making them
146+
run on a variety of queuing backends. This guide provides you with all
147+
you need to get started creating, enqueuing, and executing background
148+
jobs.
97149
-
98150
name: Active Storage Overview
99151
url: active_storage_overview.html
100-
description: This guide covers how to attach files to your Active Record models.
152+
description: >
153+
Active Storage facilitates uploading files to a cloud storage service,
154+
transforming uploads and extracting metadata. This guide covers how to
155+
attach files to your Active Record models.
101156
-
102157
name: Action Cable Overview
103158
url: action_cable_overview.html
104-
description: This guide explains how Action Cable works, and how to use WebSockets to create real-time features.
159+
description: >
160+
Action Cable integrates WebSockets with the rest of your Rails
161+
application. It allows for real-time features to be written in Ruby in
162+
the same style and form as the rest of your Rails application. This
163+
guide explains how Action Cable works, and how to use WebSockets to
164+
create real-time features.
105165
-
106166
name: Webpacker
107167
url: webpacker.html
108-
description: This guide introduces Webpacker, a Rails wrapper around the webpack build system.
168+
description: >
169+
This guide will show you how to install and use Webpacker to package
170+
JavaScript, CSS, and other assets for the client-side of your Rails
171+
application.
109172
-
110173
name: Digging Deeper
111174
documents:
@@ -132,11 +195,18 @@
132195
-
133196
name: The Rails Command Line
134197
url: command_line.html
135-
description: This guide covers the command line tools provided by Rails.
198+
description: >
199+
There are a few commands that are absolutely critical to your everyday
200+
usage of Rails. This guide covers the command line tools provided by
201+
Rails.
136202
-
137203
name: The Asset Pipeline
138204
url: asset_pipeline.html
139-
description: This guide documents the asset pipeline.
205+
description: >
206+
The asset pipeline provides a framework to concatenate and minify or
207+
compress JavaScript, CSS and image assets. It also adds the ability to
208+
write these assets in other languages and pre-processors such as
209+
CoffeeScript, Sass, and ERB.
140210
-
141211
name: Working with JavaScript in Rails
142212
work_in_progress: true
@@ -146,7 +216,10 @@
146216
name: The Rails Initialization Process
147217
work_in_progress: true
148218
url: initialization.html
149-
description: This guide explains the internals of the Rails initialization process.
219+
description: >
220+
This guide explains the internals of the initialization process in
221+
Rails. It is an extremely in-depth guide and recommended for advanced
222+
Rails developers.
150223
-
151224
name: Autoloading and Reloading Constants (Zeitwerk Mode)
152225
url: autoloading_and_reloading_constants.html
@@ -203,7 +276,11 @@
203276
-
204277
name: Getting Started with Engines
205278
url: engines.html
206-
description: This guide explains how to write a mountable engine.
279+
description: >
280+
Engines can be considered miniature applications that provide
281+
additional functionality to their host applications. In this guide you
282+
will learn how to create your own engine and integrate it with a host
283+
application.
207284
work_in_progress: true
208285
-
209286
name: Threading and Code Execution in Rails
@@ -238,7 +315,9 @@
238315
-
239316
name: Upgrading Ruby on Rails
240317
url: upgrading_ruby_on_rails.html
241-
description: This guide helps in upgrading applications to latest Ruby on Rails versions.
318+
description: >
319+
This guide provides steps to be followed when you upgrade your
320+
applications to a newer version of Ruby on Rails.
242321
-
243322
name: Version 7.0 - ?
244323
url: 7_0_release_notes.html

0 commit comments

Comments
 (0)