title: Missing partial when using devise 2.0 w Rails 3.1.3
body: <p>I have a rails app (rails 3.1.3) that has a shopping cart model. I wanted to show a summary of the shopping cart in the layout so I created the partial views/carts/_cart.html.haml. My app was working fine and rendering the cart partial in every view. But when I installed devise 2.0, the partial could no longer be found for devise views. Instead, I would see the following error code when I tried to call a devise view:</p>
  
  <pre><code>ActionView::Template::Error (Missing partial views/carts/cart with {:handlers=&gt;[:erb, :builder, :coffee, :haml], :formats=&gt;[:html], :locale=&gt;[:en, :en]}. Searched in:
    * "/Users/cameronnorgate/Web Development/Practice Apps/1-Camerons Tea/pgktea/app/views"
    * "/Users/cameronnorgate/.rvm/gems/ruby-1.9.2-p290@pgktea/gems/devise-2.0.4/app/views"
  </code></pre>
  
  <p>As you can see, it searches for the partial in app/views, but doesn't go all the way into the 'carts' folder in order to find the 'cart' partial. This is weird, because the code I had in the layout view specified the exact path (see below):</p>
  
  <pre><code>%body{:class =&gt; params[:controller]}
    .master_container
      .master_header
        .inner_header
          .cart
            = render :partial =&gt; 'views/carts/cart', :object =&gt; @cart 
  </code></pre>
  
  <p>Can anyone help me understand why my call to render the partial is not being found when inside a devise view?</p>
  
  <p>The short term fix I've made for this is to bring the partial code back into the full layout file - so now devise doesn't have to go searching and everything works... but that's not ideal and it's cluttering up my code.</p>
  
  <p>Thanks!</p>