title: heroku uninitialized constant Admin
body: <p>I've seen some issues posted like this but any answer solve my problem :(</p>
  
  <p>I'm trying to deploy my application to heroku, I have used devise for a simple authentication, al the deploy seems to rum ok but when I browse to my app I see the error:</p>
  
  <p>An error occurred in the application and your page could not be served. Please try again in a few moments.
  If you are the application owner, check your logs for details.</p>
  
  <p>I've tryed to run heroku rake db:migrate but I'm still getting the same error.</p>
  
  <p>Thanks in advance,
  My log is:</p>
  
  <pre><code>2012-08-27T21:23:17+00:00 app[web.1]: =&gt; Booting WEBrick 2012-08-27T21:23:17+00:00 app[web.1]: =&gt; Rails 3.2.8 application starting in pro duction on http://0.0.0.0:17074 2012-08-27T21:23:17+00:00 app[web.1]: =&gt; Call with -d to detach 2012-08-27T21:23:17+00:00 app[web.1]: =&gt; Ctrl-C to shutdown server 2012-08-27T21:23:17+00:00 app[web.1]: Connecting to database specified by DATABA SE_URL 2012-08-27T21:23:21+00:00 app[web.1]: Exiting 2012-08-27T21:23:21+00:00 app[web.1]: /app/app/controllers/admin_user/omniauth_c allbacks_controller.rb:1:in `&lt;top (required)&gt;': uninitialized constant AdminUser s (NameError)
  </code></pre>