sprockets
How do I use reference images in Sass when using Rails 3.1?
I have a Rails 3.1 project with the asset pipeline working great. The problem is that I need to reference images in my Sass, but Rails calculates image URLs. (This is particularly important in product[详细]
2023-03-13 23:47 分类:问答Rails uses older version of jquery
I just upgraded my Rails 3 app to 3.1. My jquery-rails gem\'s version is 1.0.11, the up to date one, yet when I check out the application.js, the file that \"//= require jquery\", it still shows that[详细]
2023-03-13 09:27 分类:问答How can I disable logging of asset pipeline (sprockets) messages in Ruby on Rails 3.1?
Sprockets tends to be quite verbose in the (dev) log by default under Ruby on Rails 3.1 (RC1): Started GET \"/assets/application.css\" for 127.0.0.1 at 2011-06-10 17:30:45 -0400[详细]
2023-03-12 16:37 分类:问答sprockets - multiple entry points?
Sprockets official documentation clearly says that: Sprockets takes any number of source files and preprocesses them[详细]
2023-03-12 14:36 分类:问答Extjs 4 Integration with Rails 3.1 (asset pipeline question)
A typical extjs example application includes the extjs library by referencing files such as: ext-all.css[详细]
2023-03-12 14:11 分类:问答jQuery toggleClass('class', 1000) toggles for only 1s then turns off, not toggles with a 1s animation
I\'m getting a problem with jQuery UI\'s toggleClass(), where if I leave the duration off, it behaves as expectedly, but with a specified duration, it only applies the class for the specified duration[详细]
2023-03-12 06:54 分类:问答Rails 3.1 asset pipeline and manually ordered Javascript requires
I am trying to convert an existing app to the new 3.1 asset pipeline layout, and want to include a lot of vendor files that have to be in a specific order, (underscore.js and backbone being one pair).[详细]
2023-03-08 22:26 分类:问答How to manage CSS Stylesheet Assets in Rails 3.1?
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[详细]
2023-03-08 07:06 分类:问答Why does sprockets destroy my images?
This image becomes when watched through the rails 3.1 WEBr开发者_开发技巧ick 131 with sprockets.[详细]
2023-03-08 04:52 分类:问答Rails 3.1beta Sprockets finds image but image is not displayed?
I am not sure the best way to explain this one, I have installed Rails 3.1beta with Ruby 1.9.2 on Windows 7, created a new app with these routes:[详细]
2023-03-07 22:48 分类:问答