sprockets
How can I adjust the order in which sprockets loads scss files?
I would like to influence the order in which my scss files are put in开发者_C百科to the final application.css file, because I would like to be able to overwrite some styles that have been defined in a[详细]
2023-03-23 23:46 分类:问答What can cause Rails 3.1 "= require jquery" to stop working?
I\'m porting a Rails 3.0.9 app to Rails 3.1.rc5.My application.js is exactly the same as one generated by Rails 3.1 itself:[详细]
2023-03-23 06:52 分类:问答Rails 3.1 obfuscate javascript
With Rails 3.1, the sprockets gem was introduced. I have written a very large game engine in javascript/coffeescript which I plan to release as ope开发者_如何学运维n source software in the future, but[详细]
2023-03-22 20:03 分类:问答calling javascript functions from html in rails 3.1
Using coffeescript, jQuery, and sprockets in rails 3.1 the coffeescript files are compiled in to blocks like:[详细]
2023-03-20 07:24 分类:问答Rails 3.1 asset pipeline: how to load controller-specific scripts?
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[详细]
2023-03-17 16:37 分类:问答rails 3.1 coffeescript file extension problem
I have this stock rails 3.1 app, before even adding anything, I was testing to see if the assets are working as advertised[详细]
2023-03-16 18:00 分类:问答Debugging client_side_validations using Rails 3.1
I am having trouble getting any of it to work. This is my first attempt.After a while, I did see some change on the page when tabbing out of the password field, but no error message shows up.Here are[详细]
2023-03-15 21:31 分类:问答Rails 3.1/Compass/sprockets - generating css twice
Using the github versions of the compass rails31 branch and sass-rails: gem \"sass-rails\", :git => \"https://github.com/rails/sass-rails.git\"[详细]
2023-03-14 22:59 分类:问答How do I use both a @charset directive and manifests in SCSS files in Rails 3.1
I want to use the manifest methods in Rails 3.1 /* *= require_self *= require_tree . */ However, I also need to specify an encoding directive[详细]
2023-03-14 20:08 分类:问答How to use Sprockets 2 with Rails 3.0.x
I\'m trying to use these gists to get Sprockets 2.0beta to work with a Rails 3.0.5 app in 开发者_JAVA百科a similar way to how it works natively in Rails 3.1. Failing thoroughly so far--my app is findi[详细]
2023-03-14 13:42 分类:问答