branch4 Blog

Internet development with every single possibility.

[Rails] Couldn't Find User With Id=sign_in

| Comments


While using devise on rails3, I got the following error message.

      Couldn't Find User With Id=sign_in Devise on Rails 3
It was working yesterday, but not today.


I checked config/routes.rb, and had

      resources :users
      devise_for :users
which seemed to be interupting each other.
So I commented out resources :users, and it started to work fine.
I don’t know why it kept working till yesterday…