Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I think in the end (when the RC gets closer/becomes a release) you will be able to modify your <code>config/application.rb</code> with the following config.assets.css_compressor = false</p> <p>But, atm, that doesn't really fix it since the stylesheet_asset_tag helper function isn't exactly compatible with the new pipeline and the :all modifier doesn't work, so...</p> <p>In your <code>application.html.erb</code> view you will have to link each css</p> <pre><code>&lt;%= stylesheet_link_tag "stylesheets/application" %&gt; &lt;%= stylesheet_link_tag "stylesheets/foo" %&gt; &lt;%= stylesheet_link_tag "stylesheets/bar" %&gt; </code></pre> <p>As long as you have <code>config.assets.enabled = true</code> in your <code>config/application.rb</code> the root of assets will be (by default) <code>/assets</code></p> <p>You can fire up a rails console (<code>rails c</code>) and <code>p Rails.application.assets</code> to see the properties that are configurable in the mean time.</p> <p>I agree not the best solution, but at this point (using an RC vs a stable release) its the best way I've found.</p> <p><strong>UPDATE:</strong> Digging around the edge api, found this ActionView::Helper <code>sprockets_stylesheet_link_tag</code> (http://edgeapi.rubyonrails.org/classes/ActionView/Helpers/SprocketsHelper.html) but it seems to be still an incomplete replacement for stylesheet_link_tag since it doesn't support <code>:all</code> and you still have to have the <code>stylesheets/</code> segment in your function call. With that said, its prolly the function to use moving forward, so...</p> <pre><code>&lt;%= sprockets_stylesheet_link_tag "stylesheets/foo" %&gt; </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload