Rails Asset Manifests
Rails ships with a feature known as the asset pipeline, which is covered in detail in this excellent Rails guide. If you're new to Ruby on Rails, that guide and the other Rails guides are your friends.
The asset pipeline is used to bundle together assets and optimize them in production environments.
//= require jquery //= require lodash //= require some_js_file //= require some_other_js_file //= require ... //= require ... //= require ... //...
You add a manifest like this to your app using rails asset view helpers provided by Rails. In a development environment, each file in the manfest is included as a separate
script element. In production, the assets are concatenated into a single file (named after the manifest) and minified.
Workarea Asset Manifests
How'd We Do?
If you found this article was missing information or wasn't quite what you were looking for, we are open to any suggestions or feedback on what we could do better.Help Us Out