Chapter 20. Asset Pipeline
It’s not enough to solve the problem; we have to have the pleasure.
—DHH, RailsConf 2011 keynote
The Asset Pipeline is one of those Rails magic features that makes developers’ lives so easy that once you master it, you will never want to go back. It also significantly improves perceived performance of your application and reduces burdens on your application server. It’s a huge win for Rails overall that nonetheless might make you want to tear your hair out and switch to (shudder) Django until you understand how it works. Persevere! We promise it’s worth the learning curve. According to David, the Asset Pipeline was by far his favorite element of the Rails 3.1 release.
“Wait,” you might ask, “what is an asset?”
It’s ...
Get The Rails™ 4 Way, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.