Topic: Couldn't find User with id=sign_out [SOLVED]

i know that i had this working in the past but i am not sure what changed or where to start looking.

i looked at my routes file

i think that there is a problem with the delete param


rake routes | grep sign
new_user_session GET    /users/sign_in(.:format)                   devise/sessions#new
user_session POST   /users/sign_in(.:format)                   devise/sessions#create
destroy_user_session DELETE /users/sign_out(.:format)                  devise/sessions#destroy
new_user_registration GET    /users/sign_up(.:format)                   devise/registrations#new
rake routes | grep user
          new_user_session GET    /users/sign_in(.:format)                   devise/sessions#new
              user_session POST   /users/sign_in(.:format)                   devise/sessions#create
      destroy_user_session DELETE /users/sign_out(.:format)                  devise/sessions#destroy
             user_password POST   /users/password(.:format)                  devise/passwords#create
         new_user_password GET    /users/password/new(.:format)              devise/passwords#new
        edit_user_password GET    /users/password/edit(.:format)             devise/passwords#edit
                           PUT    /users/password(.:format)                  devise/passwords#update
  cancel_user_registration GET    /users/cancel(.:format)                    devise/registrations#cancel
         user_registration POST   /users(.:format)                           devise/registrations#create
     new_user_registration GET    /users/sign_up(.:format)                   devise/registrations#new
    edit_user_registration GET    /users/edit(.:format)                      devise/registrations#edit
                           PUT    /users(.:format)                           devise/registrations#update
                           DELETE /users(.:format)                           devise/registrations#destroy
users_update_password_user GET    /users/:id/users_update_password(.:format) users#update_password
                     users GET    /users(.:format)                           users#index
                           POST   /users(.:format)                           users#create
                  new_user GET    /users/new(.:format)                       users#new
                 edit_user GET    /users/:id/edit(.:format)                  users#edit
                      user GET    /users/:id(.:format)                       users#show
                           PUT    /users/:id(.:format)                       users#update
                           DELETE /users/:id(.:format)                       users#destroy

Last edited by moiseszaragoza (2012-06-26 12:04:21)

Re: Couldn't find User with id=sign_out [SOLVED]

make sure that you include the in you layout files

<%= javascript_include_tag "application" %>