In my last two group projects my world has been turned upside down with the pain that we like to call the rails asset pipeline.
On the surface level any rails projects ships with its own standard folders and directories which keep all your files. We call these files “assets”.
In a rails project is very likely that you will have code that you write and then code and libraries that you use from other people, either open source or commercial. Our main problem that we faced in the asset pipeline was integrating other people’s code into our app.
For my two projects on our localhost the app worked fine (for the most part) but whenever we deployed to Heroku there were all kinds of problems. It took hours to figure out and the problems were 97% of the time caused by the rails asset pipeline.
In my endless troubleshooting of rails asset pipeline issues on Heroku, one thing was etched into my brain:
When Heroku compiles your assets it compiles all of your asset files into ONE FILE
On an unrelated note here is a little app I made called Words With Jaden, inspired by:
- Momentum Chrome extension
- Jaden Smith
- My group talking bad about my 80s pop/rock knowledge 😀