devise-twitter icon indicating copy to clipboard operation
devise-twitter copied to clipboard

Handle connecting with twitter gracefully if no user is logged in

Open MSch opened this issue 14 years ago • 2 comments

Currently if warden.user is nil we crash. devise-twitter should set a flash message (from i18n) and redirect back.

MSch avatar Sep 14 '10 00:09 MSch

I always get this error: undefined method `twitter_handle=' for nil:NilClass

Is this what you mean? Have no idea why...

fousa avatar Sep 28 '10 23:09 fousa

Yes. Are you using the connect url if no user is logged in?

MSch avatar Sep 29 '10 10:09 MSch