“The problem with finding beginner friendly Rails resources seems to be a lot of refer back to older ways of doing things (generally speaking, but also the asset pipeline in particular) and a lot of them lead me down rabbit holes that I often can’t tell are worth burrowing into or not.”
It’s old school erbs with jQuery, bootstrap, and a few other thingss and it works well, but there are some things to keep in mind.
You’ll be able to tell because the link on dev would just be the normal or while the rails precompiled assets will be " (or whatever the latest compiled asset name is).
You could also just add a switch like “use_precompiled_assets = true/false” set somewhere (ENV variable or the environment files). That way you can switch between the precompiled and non just by switching the setting without having to restart the server.
There have been countless times where I’ve forgotten to precompile and I don’t see changes and it drove me nuts, that’s why I added the switch.
One last thing, you definitely want to have precompiled assets in production.
Rails is awesome, but I’d start old school and avoid the esbuild/forman/whatever’s the newest latest and greatest thing until you know how it works.
I don’t even know how the yarn esbuild etc. stuff works, and I don’t want to - old school is the way to go : )