title: Active Admin uninitialized constant Admin::DashboardController
body: <p>I just migrated a Rails app to 3.1. Active Admin is now 0.6.0. That's my routes.rb</p>
  
  <pre><code>AppName::Application.routes.draw do
    root :to =&gt; "homepage#index"
  
    devise_for :admin_users, ActiveAdmin::Devise.config
    ActiveAdmin.routes(self)
  </code></pre>
  
  <p>So root is declared before ActiveAdmin routes. We I start the server in development and I reload the browser I get the ActiveAdmin interface here: </p>
  
  <pre><code>http://localhost:3000/admin
  </code></pre>
  
  <p>When I reload that URL I get:</p>
  
  <pre><code>uninitialized constant Admin::DashboardController
  </code></pre>