I am wondering if it is just my lac开发者_Python百科k of understanding. I have a action mailer that using a bunch of asset via the image_tag and config.action_mailer.asset_host in the config. As I am
While I recognize the dependency handling of sprockets is awesome, I have little knowledge on how to use it properly to make it meet my needs.
I\'m using the assets pipeline from Rails 3.1 and I want to include some javascript files only if it\'s the development environment.
Ok so, I\'m getting this error when I try to use the asset pipeline. I don\'t understand what\'s causing it.
If I\'m using //=require_tree . in application.css, is there a way to exclude particular files other than resorting to //=require_directory and tree orga开发者_StackOverflow社区nization?
I have a Rails 3.1 app with an image: app/assets/images/icons/button.png It seems like the image should be served at this URL:
Sprockets gem caches .erb files even though the ruby code in those might evaluate differently on every compilation
I am trying to rewrite an app using rails 3.1 making use of engines. Somehow the test dumm开发者_运维问答y app does not pick up my assets and I don\'t know what would be causing this. i.e. stylesheets
After I added S开发者_JAVA百科prockets, Rails is loading very slow in development mode, what should I do to speed it up?Take a look at https://github.com/wavii/rails-dev-tweaks.
I\'ve been breaking my head over this for over 2 days now, and can\'t seem to figure out where the problem is. This is mostly a problem related to my setup, but if anyone could help me find a solution