sprockets
How to reference files in a JQuery plugin in Rails 3.1 using the Sprockets architecture?
The Plupload plugin is a good example.Here\'s the listing of the plugin added to the vendor directory:[详细]
2023-03-07 12:34 分类:问答How to comment out rails 3.1 asset require statement
Is it possible to comment out this line in the new app/assets/application.js file?If so, how? 开发者_如何学运维//=require jquery_ujs[详细]
2023-03-07 03:10 分类:问答How to play dojo with sprockets in rails edge?
Rails 3.1 edge use sprockets to handle .js and .scss files. Sprockets use comments to deal with dependencies.[详细]
2023-02-24 23:16 分类:问答Javascript organization strategies for Rails 3
I\'m currently working on an application with a lot of javascript code. I\'m writing inline javascript code on every of the pages/partials, however most of the code is re-utilized somewhere else. I\'m[详细]
2023-01-27 10:43 分类:问答How to use Sprockets Rails plugin on Heroku?
I just deployed my Rails app to Heroku, but the Javascripts that were using Sprockets plugin don\'t work.[详细]
2022-12-24 03:51 分类:问答