RailsCasts Pro episodes are now free!

Learn more or hide this

GoodJob's Profile

GitHub User: GoodJob

Site: www.starterpad.com

Comments by GoodJob

Avatar

Hey! I have found how to Sign in with standart Devise method using "omniauth-facebook" gem:
http://stackoverflow.com/questions/16941850/sign-in-to-devise-using-omniauth-facebook
(In this tutorial, current_user var is set in application controller, but not signed in with Devise method)

Avatar

Hey Ryan, thanks for the great tutorial.
There is one issue with auth permissions. current_user variable defined in application controller doesn't fully works with this standart Auth protection to access just a current actions in controller:
class SomeController < ApplicationController
before_filter :authenticate_user!, :except => [:action]
...