RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: fwuensche
Site: https://www.touts.com.br
It's 2017 and the content of these videos are still relevant. Thank you, Ryan!
Notice that if you don't want your users to be logged out from Facebook when logging out from your app you should change your javascript file to the following code. Any better solutions for that?
$('#sign_out').click (e) -> FB.getLoginStatus (response) -> window.location = '/signout' if response.authResponse true
PS: I'm doing it just because I find it annoying to logout users from Facebook without asking them to do so.
Did anyone find another solution than just using gem 'omniauth-facebook', '1.4.0' ?
It's 2017 and the content of these videos are still relevant. Thank you, Ryan!
Notice that if you don't want your users to be logged out from Facebook when logging out from your app you should change your javascript file to the following code. Any better solutions for that?
PS: I'm doing it just because I find it annoying to logout users from Facebook without asking them to do so.
Did anyone find another solution than just using gem 'omniauth-facebook', '1.4.0' ?