This guide explains major concurrency and performance principles
for Puma and CRuby.
This is a reworked version of #50949.
Closes: #50949
Co-authored-by: Noah Gibbs <noah.gibbs@shopify.com>
Review and improve Action View Overview guide [ci-skip]
* Add more code examples and update existing examples.
* Consolidate all topics related to partials in this guide.
* Restructure sections for better flow and readability.
* Reword the introduction and clarify how Action View fits in.
Note: This guide has content that's intertwined with the Layouts and Rendering guide,
with some duplicate content and overlapping concepts. A follow-on PR will focus on
the other guide and then we will do a pass over both guides together.
Co-authored-by: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Review and improve the Action View Helpers guide.
- Reorganize sections, in most cases moving most commonly used helpers up, grouping some of the formatting ones together
- Expand with more examples and a few new methods
- Link back to the API of each helper whenever possible
- Remove WIP
Co-authored-by: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
Review the Active Model Basics guide.
Add `Attributes` and `AttributeAssignment` sections.
Update the rest of the sections by trying to provide more information, be more clear, and include more examples. In some parts, it references the API where more information about the methods can be provided.
Expand `ActiveModel::API` and `ActiveModel::Model`, reorganize sections to a more sensible order.
Co-authored-by: Carlos Antonio da Silva <carlosantoniodasilva@gmail.com>
The title of this guide might lead to confusion that it's for general development dependencies of a Rails app, and not only for core development of the framework.
Also added this document to the index
In the guides Active Support is defined as providing "transversal stuff".
This is not a commonly used term and might intimidate beginners.
Co-Authored-By: Alex Ghiculescu <alex@tanda.co>
Most of the current descriptions for the guides on the index page are
very sparse. They don't describe the subjects that are handled in the guides.
You have to know the frameworks to know what to look for.
If we expand the descriptions, it can help beginners find the correct
guide.
This commit copies some of the introductions from the introductions of
the guides themselves to the index descriptions. Some descriptions were
expanded to be more informative.
Co-authored-by: Sunny Ripert <sunny@sunfox.org>
The ActionView Overview guide is currently a Work In Progress (WIP)
because, it seems, not all ActionView helpers are listed. As it's also
one of the largest guides, we can move the helpers to a seperate guide.
This allows us to remove the WIP status from the ActionView Overview
guide and reduce its size.
- Move some actiontext/README.md content to Action Text Overview guide
- I added WIP label to that guide since we definitely want to complement it.
- Add Action Text to Major Features of Rails 6.0
Similar approach was used in #34812