Friday, December 13, 2024

Want to learn about Rails 8? START HERE.

Posted by Amanda Perino

Rails 8 is a major milestone, and for the first time in Rails’ history, thanks to the support of the members of the Rails Foundation, we are able to support this major release with new and updated tutorials, videos, and guides to help developers learn Rails’ new default features as quickly as possible.

If you want to learn more, here’s where you should start.

The (new) Getting Started Tutorial

The revamped Getting Started Guide walks you through building an e-commerce site while introducing Rails fundamentals and the latest Rails 8 defaults. Learn to use:

  • the built-in Authentication Generator to create an admin system for managing products.
  • Action Mailer, Active Job, and Solid Queue to run background jobs that send email notifications to subscribers when products are back in stock.
  • Solid Cache to cache product information and improve performance.
  • Kamal 2.0 to deploy your app to production.

This tutorial is beginner-friendly yet comprehensive, designed to make Rails accessible to everyone and welcome beginners to Rails for years to come. It’s also expandable, paving the way for future tutorials adding more features to the app.

Follow the Getting Started Tutorial here.

Note: The Installation Guide is now separate from the Getting Started Guide, making it easier to find.

Special thanks to Chris Oliver of GoRails for writing this tutorial, with help from Rafael França, Xavier Noria, Jeremy Daer, Matthew Draper, Collin Jilbert, Kent Crutchfield, Harriet Oughton, Julian Duss, Santiago Rodriguez, Gianlo Occhipinti, Kim Perino, and all the reviewers on GitHub.

Rails 8 Unpacked with Typecraft

Rails 8 Unpacked with Typecraft is a 9-part video series exploring Rails 8’s default features through the lens of adding features to a task management demo app.

You’ll learn:

  • Authentication with the new Authentication Generator.
  • Asset management using Propshaft.
  • The Solid Trifecta for caching, messaging, and job queueing.
  • Deployment with Kamal 2.0.

You can build your own app or follow along with the demo app by checking out the branches of the GitHub repo found under each episode.

Watch Rails 8 Unpacked on the Rails YouTube channel.

Thanks to Chris Power and Robert Beene from Typecraft, and reviewers Rosa Gutierrez, Donal McBreen, Breno Gazzola, Miles Woodroffe, Bruno Miranda, and the Rails Core team.

Also: This series is subtitled in Japanese, Brazilian Portuguese, and Spanish thanks to the team at Happy Scribe!

Updated Rails Guides

And finally, the Rails Guides have also been updated with the new defaults. You’ll now find:

More updates are on the way! Thanks to the docs team - Ridhwana Khan, Bhumi Shah, Harriet Oughton, Petrik de Heus - and everyone in the community who reviewed their PRs. **

Whether you’re a new or experienced Rails developer, we hope you’ll find these resources helpful when exploring all that Rails 8 has to offer.

If you have other suggestions on how we can support you, our suggestion box is always open.

Have fun building with Rails 8!