With Rails 7 coming out soon, it's a good time to look at what it could take to upgrade our existing applications to esbuild. In this episode, we start with a Rails 6 application and begin the upgrade process by removing Webpacker and switching over to esbuild.
With custom controllers and Global ID, we can lock down Active Storage files to provide a link which expires after a duration of time. At the beginning of the video, I tour the new Rails 7 template and configuration that will be used for episodes going forward.
As developers, chances are we are in the terminal often. Command Line Interfaces (CLI), are very helpful in streamlining our work. Ruby is a very powerful language and can make some powerful CLIs. Thor is a powerful option, but in this episode, we look at some alternatives from basic to more advanced scenarios.