Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Jake Kring's Profile

GitHub User: JKring


Comments by Jake Kring


For what it's worth, I solved my problem by adding an after_create method to my user model.


Awesome job Ryan, as per usual. You've been my #1 rails instructor since day one.
I think I found a minor issue. I don't think that your override of create actually works, because 'create' in the Devise RegistrationController calls 'sign_in_and_redirect', and presumably breaks out of the method. So the omniauth session cookie never gets cleared. This wouldn't really matter, except that I need to kick off a couple of background jobs at this moment (between sign up and confirmation). So I'd love to know how to go about overriding the RegistrationController.
Thanks again!