title: Rails 3.1 - embedding flash.swf files - best practices?
body: <p>Having problems embedding my .swf file in rails 3.1. In past versions of rails I'd use swfobject and simply do:</p>
  
  <pre><code>&lt;div id="swfbox"&gt;you don't have flash&lt;/div&gt;
  &lt;script type ="text/javascript"&gt;
      swfobject.embedSWF("swf/AudioRecorder.swf", "swfbox", "400", "400", "10.0.0", "");
  &lt;/script&gt;
  </code></pre>
  
  <p>This isn't working in rails 3.1. I'm starting to understand the asset pipeline but I'm still confused where to put the .swf file. So far I've tried of putting everything in /public then /app/assets with a combination using:</p>
  
  <pre><code>&lt;%= asset_path("swf/AudioRecorder.swf") %&gt;
  </code></pre>