Locally, (development environment), I can log in just fine. However, on the staging server, you can see that I get logged in successfully, but 'before_filter :authenticate_user!' fails.
This app was previously working fine on the server, but I've made lots of app changes since the last deployment. I'm running ruby 1.9.2-p194 on both.
I saw some mentions from Jose about setting 'config.http_authenticatable = false' but that didn't help in my case.
Any thoughts?
Started GET "/app/users/sign_in" for 75.148.94.141 at 2012-08-29 16:17:32 +0000
Processing by Devise::Users::SessionsController#new as HTML
Rendered devise/users/shared/_links.html.haml (0.9ms)
Rendered devise/users/sessions/new.html.haml within layouts/users (8.9ms)
Completed 200 OK in 12ms (Views: 10.8ms | ActiveRecord: 0.0ms)
Cache read: /app/admin/calendar?
Started GET "/app/admin/calendar" for 75.148.94.141 at 2012-08-29 16:17:36 +0000
Processing by Admin::CalendarsController#show as HTML
Completed 401 Unauthorized in 1ms
Cache read: /app/users/sign_in?
Started GET "/app/users/sign_in" for 75.148.94.141 at 2012-08-29 16:17:36 +0000
Processing by Devise::Users::SessionsController#new as HTML
Rendered devise/users/shared/_links.html.haml (0.9ms)
Rendered devise/users/sessions/new.html.haml within layouts/users (63.4ms)
Completed 200 OK in 67ms (Views: 65.6ms | ActiveRecord: 0.0ms)