Welcome to the rebuilding turbo-rails tutorial!
Welcome to the rebuilding turbo-rails tutorial!
The rebuilding turbo-rails tutorial
Introduction and source code of the tutorial
Introduction and source code of the tutorial
Rails plugins architecture
Rails plugins architecture
Setting up our development and test environments
Setting up our development and test environments
Broadcasting Turbo Stream views with Action Cable
Broadcasting Turbo Stream views with Action Cable
Asynchronous Broadcastings with Active Job
Asynchronous Broadcastings with Active Job
Installation rake tasks and final tests
Installation rake tasks and final tests
Conclusion
Conclusion
Source code of the tutorial
You can access the source code of the tutorial on Github. Each commit corresponds to one video of the course, so it's easy for you to follow along!
What will we learn?
In this tutorial, we will:
Learn to create Rails engines from scratch thanks to the rails plugin new command
Rebuild together all the backend turbo-rails features
Learn how to test our engine both manually and with automated tests thanks to the test/dummy Rails application
Learn how to create installation rake tasks thanks to Rails templates
Test our finalized engine in a real Ruby on Rails application
By the end of the tutorial, you will understand in-depth how turbo-rails works under the hood and even be able to contribute to it yourself! You will also be able to create your own extensions to the Ruby on Rails framework.
All the knowledge we will learn together applies to other Rails engines such as ActionText or ActiveStorage, for example.
It will also teach you how to read the source code of a gem to understand it when the documentation is scarce.
Ready for a great session of peer programming? Let's get started!