Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

Troels Knak-Nielsen's Profile

GitHub User: troelskn

Comments by Troels Knak-Nielsen


To avoid having test:prepare run each time, you can further drop this into Rakefile:

Rake.application.instance_eval do
  # 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:

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: