title: ruby rails assets path for 3rd party
body: <p>I'm attempting to port from Rails 2.3.8 to Rails 3.2.6. My app currently uses 3rd party css/js/images which are placed in <code>public/&lt;3rdparty&gt;/&lt;subdir&gt;/../..</code></p>
  
  <p>In <code>layout/application.html.erb</code>, I used absolute path to retrieve them; eg <code>&lt;%= stylesheet_link_tag "/dojoroot/dojo/resources/dojo.css" %&gt;</code> and <code>&lt;%= javascript_include_tag "/dojoroot/dojo/dojo.js" %&gt;</code></p>
  
  <p>For Rails 3.2.6, the assets are expected to be in <code>app/assets</code> or <code>lib/assets</code>. However, moving the 3rd party from public to app/assets doesn't work because the tag are looking for the assets under their respective type. For example, <code>&lt;%= stylesheet_link_tag "dojoroot/dojo/resources/dojo.css" %&gt;</code> will look at <code>app/assets/stylesheet/dojoroot/dojo/resources/dojo.csc</code> and likewise the javascripts will look under <code>apps/assets/javascripts/dojoroot/dojo/dojo.js</code>. Breaking the 3rd party into 3 subdirs of stylesheets/javascripts/images seem rather wasteful and timeconsuming.</p>
  
  <p>If I pass the absolute path to the tag; eg <code>&lt;%= javascript_include_tag "/dojoroot/dojo/dojo.js" %&gt;</code> Rails won't find it in app/assets/dojoroot.</p>
  
  <p>Is there a configuration where I can have Rails look for the assets without injecting "stylesheets", "javascripts" into the path?</p>