asset-pipeline
Rails 3.1 asset pipeline outside view
I am trying to set CarrierWave\'s default url inside of the CarrierWave uploader. To do this, I would like to use the asset pipeline to do the following in uploaders/image_uploader.rb:[详细]
2023-04-07 01:25 分类:问答Preprocess SCSS with HAML
I have an app that has some categories: Tomato, Orange, Banana. Each category has it\'s own color saved in the database: FF0000, FF6600, FFFF00.[详细]
2023-04-06 16:06 分类:问答Why are the ActionView::Helpers::UrlHelper not available in the assets pipeline?
In ajax heavy applications having a javascript/coffeescript file that is aware of the routes in a rails application seems common and reasonable. Yet it is not easy access the url_for helper in your as[详细]
2023-04-06 13:52 分类:问答Rails 3.1 Asset pipeline - IE not loading all stylesheets in development
Testing my site in Internet Explorer (testing with IE 9 at the moment) I saw many things wrong but quite a few things that I thought shouldn\'t be wrong.[详细]
2023-04-06 01:59 分类:问答Don't log asset requests in Rails 3.1 in development mode [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: How to disable logging of asset pipeline (sprockets) messages in Rails 3.1?[详细]
2023-04-06 01:37 分类:问答Rails 3.1 Assets pipeline and JS preprocessing
I want to put some user preferences in my JavaScript. Previously 开发者_开发知识库I\'ve done it by rendering my JavaSript file preferences.js.erb by controller via <%= javascript_link_tag ...>. How[详细]
2023-04-06 00:34 分类:问答what's the reason behind the default require_tree in asset pipeline?
When using asset pipeline in rails 3.1, it creates a default application.js: //= require jquery //= requir开发者_开发问答e jquery_ujs[详细]
2023-04-05 21:26 分类:问答Rails Asset Pipeline: Precompile Assets outside of manifest?
I have certain page-specific js and css files that I either: Don\'t want running on development (ie tracking code)[详细]
2023-04-05 17:53 分类:问答How to get EXTJS 4 inside the Rails 3.1 asset pipeline?
I recently started working with Rails 3.1. It\'s a very nice framework and I like the \'asset pipeline\' philosophy. Adding libraries that exist[详细]
2023-04-05 12:18 分类:问答How to get debug mode for CSS?
<%= stylesheet_link_tag \'application\', :debug => Rails.env.development? %> D开发者_如何转开发oesn\'t seem like its working. I think the asset is still being precompiled... I can verify t[详细]
2023-04-05 06:16 分类:问答
加载中,请稍侯......