Sign in through GitHub

Please read for an updated status on RailsCasts:

Learn more or hide this

aaandre's Profile

GitHub User: aaandre

Comments by

Avatar

Sounds like this could save some requests esp. when finding an address.

Thank you.

Avatar

Removing the pg gem from the gem file resolved the issue. The MySQL gem may also cause this to happen.

Avatar

Thanks for the wonderful gem!

Ruby 1.9.2p290, Rails 3.2.7, Windows 7 here.

Shows load times but the SQL column is empty.

The dev database is on sqlite.

Avatar

What is the way to test beyond login_required?

Trying this in spec/requests does not seem to help:

before do
  @user = FactoryGirl.create :user
  cookies[:auth_token] = @user.auth_token
  visit "/"
end

Results in a redirect to the signin page. Can anybody help with this?

Avatar

Any idea on how to add a restriction to the number of user sessions with this approach? What I'd like to have is one browser window per user. Opening the app in another browser window would display a warning, signing in from another browser window would also display a warning+a choice to destroy the other session.

Has anyone implemented anything like this?

Avatar

Having the exact same issue... did you resolve this?