Propshaft and the Modern Asset Pipeline
Rails 7 brought with it an overhauled asset pipeline that delivered a default “no-Node” approach to front end and improved support for modern bundlers like esbuild.
This is great for developers as we are constantly searching for ways to make the development process more pleasant and to deliver better user experiences.
However, the introduction of multiple gems that seem to have overlapping features has left many of you confused about how to take advantage of everything that Rails 7 has to offer.
You want to make sure that when you create your next app, or update an existing one, you are making the correct choice and will not have to go back and redo a large part of your frontend.
I’m a contributor to some of these gems and deployed most of them to production and I can tell you it’s actually simpler than it looks. It all comes down to a single decision.
But to make that decision we have to understand what makes the new asset pipeline so different from the previous one.
- 15:45 - 16:15
- 5th October 2023
- Track 2
Co-Founder & CTO, FestaLab
Breno is a Co-Founder and CTO of FestaLab, a brazilian startup for organizing events (birthday, baby shower, etc) and gifting, used by over 150k organizers and 5M guests per month.
Their majestic monolith was first built in 2018 as a Rails 5.1 app, but currently runs Rails Edge and they have contributed back to Rails some of the things they have developed for it (including the switch to “vips by default” in Rails 7). This monolith was also the test bed for Breno’s collaboration on Propshaft and the first app to deploy it to production.