My Rails 3.1.rc4 app was working fine, but I\'m trying to figure out the appropriate way to store my js files in the pipeline. If I put any code in a file other than application.js, I get the followin
In a Rails 3.1 project, if I edit app/assets/javascripts/users.js.coffee using Emacs, then Em开发者_Go百科acs creates a backup file named app/assets/javascripts/users.js.coffee~ (note the trailing \"~
Simple question: I\'ve got a Rails 3.1 app running in staging, which is RAILS_ENV=production.My problem is this:stylesheet_link_tag produces a different fingerprint for my css files than the fingerpr
I\'m working with Rails 3.1\'s asset pipeline and although it seems to work flawlessly in my development environment on my localhost, I\'m having huge issues with it on engine yard.
If I generate a new controller in Rails 3.1, also a javascript file with t开发者_运维百科he name of the controller will added automatically. Firstly, I thought this javascript file will used only, whe
I\'m upgrading a Rails 2.5 app to Rails 3.1 rc4 and I\'m getting tons of these kind of errors in development, related to the asset pipeline:
I am trying to put some external images (used by a jQuery plugin) to vendor/assets/images in my Rails 3.1 app. Problem is that when I try something like:
TLDR: What can you do to combine multiple CoffeeScript files into one JS file, in RoR, all under the same anonymous function block?
Since 开发者_StackOverflow\"upgrading\" to Rails 3.1 my app is really slow in development mode (> 30 per request)
After I deployed my upgraded Rails 2.3.x -> 3.1 (rc4) app to our test environment this afternoon, all of our stylesheets and JavaScript files were returning 404 errors.We had added the rake assets:pre