currently I have a rails 3 app with devise. it requires the users to register / signin for access.
I would like to enable guest users. So that when a user visits certain views a guest user account is created for that user and then if/when they authenticate/register that guest user is then upgraded to a normal user.
Think of the app as a chat room. I want guest users to be able to join the chat room, then later oauth into twitter to register. But I don't want to force users to register before joining.
Suggestions?
I found this: https://github.com/plataformatec/devise/wiki/How-To:-Create-a-guest-user
Problem with that is I added the helper, but don't understand how to initiate current_or_guest_user. Also not sure how to initiate per specific allowed views?
Any ideas? Pointers? Thanks