RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: troelskn
To avoid having test:prepare run each time, you can further drop this into Rakefile:
# Remove test:prepare
I needed this as well. I've managed to make it work (with Facebook anyway - but it should be trivial to support other providers as well). Code at: https://gist.github.com/troelskn/6240837
Note that this is for Rails 4.
If you are on Rails 4 and get a cryptic error message along the lines of ArgumentError in Devise::RegistrationsController#new wrong number of arguments (2 for 1), just remove the without_protection key in user.rb. Source: http://stackoverflow.com/questions/17105112/argumenterror-in-deviseregistrationscontrollernew-wrong-number-of-arguments
ArgumentError in Devise::RegistrationsController#new wrong number of arguments (2 for 1)