title: Rails 4 precompiling unwanted files
body: <p>Rails precompiles unwanted font files, since that <code>.eot</code>, <code>.woff</code>, <code>.svg</code> and <code>.ttf</code> formats aren't in <code>Rails.application.config.assets.precompile</code> list.</p>
  
  <p><strong>/app/assets/stylesheets/subscriber/font-awesome.css.scss</strong></p>
  
  <pre><code>@font-face {
    font-family: 'FontAwesome';
    src: url('fontawesome-webfont.eot?v=3.1.0');
    src: url('fontawesome-webfont.eot?#iefix&amp;v=3.1.0') format('embedded-opentype'),
    url('fontawesome-webfont.woff?v=3.1.0') format('woff'),
    url('fontawesome-webfont.ttf?v=3.1.0') format('truetype'),
    url('fontawesome-webfont.svg#fontawesomeregular?v=3.1.0') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  </code></pre>
  
  <p>And my fonts are placed in <code>app/assets/fonts/subscriber</code> folder.</p>
  
  <p><strong>precompile formats:</strong></p>
  
  <pre><code>$ rails c -e production
  Loading production environment (Rails 4.0.2)
  2.0.0-p353 :001 &gt; y Rails.application.config.assets.precompile
  ---
  - !ruby/object:Proc {}
  - !ruby/regexp /(?:\/|\\|\A)application\.(css|js)$/
  - active_admin.js
  - active_admin.css
  - active_admin/print.css
   =&gt; nil 
  </code></pre>
  
  <p>I have no idea why Rails precompiling them. Any idea?</p>