On Thursday, July 14, 2011 2:25:29 PM UTC-4, Ruby-Forum.com User wrote:
>
> The user is logged in.
>
 
That sounds like it's your problem. The Devise registrations controller does 
not allow a user to be logged in. The only reason you don't get that error 
for your "new" action is because you aren't using the "new" action from the 
devise registrations controller - you're using the "new" action from your 
users controller.

Check out line 2:
https://github.com/plataformatec/devise/blob/master/app/controllers/devise/registrations_controller.rb#L1

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/0FCMWJD3ky0J.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to