title: Rails: render a partial from a plugin
body: <p>I'm getting a missing template error after I try rendering a partial from a plugin.  I have included the files with the following:</p>
  
  <pre><code>%w{ models controllers helpers views }.each do  |dir| 
    path = File.join(File.dirname(__FILE__), 'app', dir) 
     $LOAD_PATH &lt;&lt; path 
     ActiveSupport::Dependencies.load_paths &lt;&lt; path 
     ActiveSupport::Dependencies.load_once_paths.delete(path) 
    end 
  </code></pre>
  
  <p>The Models are getting loaded, but as for other things I'm not sure what's going on. The helpers are not getting loaded too because I just copied the contents of the partial from the plugin instead of the render :partial => and then it came up with a helper error.</p>
  
  <p>Question is how to be able to :render :partial => from the views folder in my plugin</p>