Hi, it’s zzak. Let’s explore this week’s changes in the Rails codebase.
Add request.variant API and guides documentation
This welcome PR updates the Action Controller docs and guide to include context-specific request handling based on variants, like platform, browser, or any arbitrary thing you want to match a request to a template.
Place template annotation on a separate line
With config.action_view.annotate_rendered_view_with_filenames enabled, rendering HTML views now adds a line break after the comment annotation which includes the file path to the template before emitting the rest of the document.
Add an explicit dependency on json gem
This pull request adds json as a dependency to the activesupport gemspec, ensuring that the gem version is listed as a dependency even though it’s included with Ruby.
You can view the whole list of changes here.
We had 24 contributors to the Rails codebase this past week!
.png)


