Topic: on_the_spot working with Devise?

Hi everyone, I'm new to the forum so welcome any guidance :-)

I spent hours trying to get on the spot working with Devise today, finally managing to get them to play nicely together.

But, whenever I edit a user field (e.g. name) on the spot on the user show page, it automatically logs the user out after making the edit.Has anyone else experienced this? It's the strangest behaviour - the CSRF token is included in the layout (and the updates are always saved successfully), so I've discounted that.

Any other ideas for things I could check for?I thought it might be my routes.rb, which I've pasted below

get "users/index"

  get "users/show"

  devise_for :users, :controllers => { :registrations => :registrations }
  devise_for :users
  resources :users
  root :to => "home#index"

  match '/:id' => 'users#show'

  resources :users do
    collection do
      post :update_attribute_on_the_spot
    end
  end

I should add that I'm using  Rails 3.0.10 and the latest versions of Devise/on_the_spot.

Thanks!

StGall

Last edited by stgall (2011-10-14 13:02:11)