I\'m just learning the new asset pipeline in Rails 3.1. One particular problem I\'m having is with the way Sprockets just mashes all the found CSS stylesheets into one massive stylesheet. I understand
Just installed rails 3.1 rc1 and am trying to grok the best way to manage javascript with the new asset pipeline
Is it possible to comment out this line in the new app/assets/application.js file?If so, how? 开发者_如何学运维//=require jquery_ujs
SOLVED: Im was using the method \'clear_helpers\' in ApplicationController, so it was blocking Devise to load his helpers.
I\'m using Ruby on Rails (Edge, the development version), and Ruby rvm 1.9.2. application.js is as follows.
Having a hard time figuring out how to make SASS, not SCSS, as the default for stylesheets. I\'ve tried making a sass_config.rb file with this:
So, with all this about using UJS and RJS being removed from rails 3.1, I am wondering 开发者_StackOverflow中文版how I will go about updating a relatively large amount of html on a page. Before I coul
There are a number of examples on the Web (such as http://techoctave.com/c7/posts/32-create-an-rss-feed-in-rails) showing how to make a nice RSS feed using Builder. The canonical template is something
Closed. This question is off-topic. It is not currently accepting answers. 开发者_StackOverflow社区
How should one provide assets in an engine in Rails 3.1? Where should they be located and can they be included automatically?