asset-pipeline
Rails 3.1 Static Asset - Must Assets by Precompiled for Productions?
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\"[详细]
2023-04-03 14:46 分类:问答Rails 3.1 Images Broken in Stylesheets
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[详细]
2023-04-03 07:35 分类:问答Rails 3.1 Assets in ActionMailer with image_tag
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:[详细]
2023-04-03 05:27 分类:问答Images and assets not working in my production server on rails 3.1.0
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[详细]
2023-04-03 03:40 分类:问答Where should JavaScript with embedded Ruby code go in a Rails 3.1 app?
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\[详细]
2023-04-02 22:53 分类:问答How to display controller specific javascript in rails 3.1?
I have my assets folder structure like this assets javascripts products --product.js --productValidate.js store[详细]
2023-04-02 22:15 分类:问答Rails 3.1: Intermittent 500 Internal Server Error when serving uncompressed assets
I\'m upgrading an app to Rails 3.1. Quote often, Firebug will complain about some assets. Here are some errors pasted from Firebug:[详细]
2023-04-02 18:55 分类:问答Rails 3.1 asset precompilation - include all javascript files
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[详细]
2023-04-02 10:08 分类:问答Broken precompiled assets in Rails 3.1 when deploying to a sub-URI
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[详细]
2023-04-02 09:28 分类:问答Sprockets require_directory problem
I\'m using Yahoo\'s reset.css in my new generated Rails 3.1 app. Given following app structure: - myapp[详细]
2023-04-02 08:45 分类:问答