Purpose:
I would like the Tumblr blog to pull CSS from the Rails application resource directory.
This means that I can use SASS, Compass and other CSS to create the style.
It also means that if something updates in low-level CSS, tumblr.css will regenerate along with regular cap deploy , and the appearance of Tumblr will automatically change.
Problem:
The Rails 3 resource pipeline adds a hash to the file name, for example:
tumblr-c6ec969ce054623163b9404f6c8330e9.css
Therefore, the Tumblr template cannot include it unless I manually update the URL every time it changes.
Is there a way to selectively disable asset.digest for a single file, or explicitly create a single CSS file from SASS without going through the entire asset pipeline? Or maybe create an automatic alias or something else?
Leo
source share