My understanding of new Rails 3.1 asset pipeline in production mode is as follows:-> config.action_controller.asset_host = \"https://mybucket.s3.amazonaws.com\"
I\'ve been running a small application that I originally wrote under Rails 3.1.0.rc4. Last night I began the transition to 3.1.0 final. Well I hit a frustrating snag in the asset pipeline. My js is fi
Assets are working fine for my web views, but for some reason my Mailer doesn\'t use the asset pipeline. I am trying to use an image_tag in my mailer view:
I switched my server to pro开发者_StackOverflowduction and i cannot get any of my images to load. It all works fine on development mode but when i switched to production it all stopped working i have
For a Rails 3.1 app, some of my site wide JavaScript is only included when certain real time,开发者_运维百科 instance specific conditions are met. This means I can\'t put it in the new asset pipeline\
I have my assets folder structure like this assets javascripts products --product.js --productValidate.js store
I\'m upgrading an app to Rails 3.1. Quote often, Firebug will complain about some assets. Here are some errors pasted from Firebug:
I want Rails 3.1 to pick up more of my assets for precompilation. In particular, the default matcher for compiling files doesn\'t add .js files from vendor/assets/javascripts. I can just add the asset
I\'m in the process of updating a Rails 3 app to use Rails 3.1 and as part of that, am making use of the new asset pipeline. So far, I\'ve got everything working apart from one rather annoying problem
I\'m using Yahoo\'s reset.css in my new generated Rails 3.1 app. Given following app structure: - myapp