title: Using @font-face with Rails 3.1 app?
body: <p>I'm having trouble using the following <code>@font-face</code> declaration to work with my Rails 3.1 app.  I put the fonts in the Asset Pipeline in its own folder called "Fonts" alongside <code>images</code> and <code>stylesheets</code> and <code>javascripts</code></p>
  
  <p>Here is the declaration I used (generated by Font Squirrel.)</p>
  
  <pre><code>@font-face {
    font-family: 'ChunkFiveRegular';
    src: url('Chunkfive-webfont.eot');
    src: url('Chunkfive-webfont.eot?#iefix') format('embedded-opentype'),
       url('Chunkfive-webfont.woff') format('woff'),
       url('Chunkfive-webfont.ttf') format('truetype'),
       url('Chunkfive-webfont.svg#ChunkFiveRegular') format('svg');
    font-weight: normal;
    font-style: normal;
  }
  </code></pre>
  
  <p>Anyone successfully utilize @font-face on their Rails 3.1 app?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I just read this thread <a href="http://spin.atomicobject.com/2011/09/26/serving-fonts-in-rails-3-1/">http://spin.atomicobject.com/2011/09/26/serving-fonts-in-rails-3-1/</a> that said to change <code>url</code> to <code>font-url</code> in the declarations.  That didn't seem to work either unfortunately.</p>