Please read for an updated status on RailsCasts:
Learn more or hide this
GitHub User: andreimoment
Sounds like this could save some requests esp. when finding an address.
Removing the pg gem from the gem file resolved the issue. The MySQL gem may also cause this to happen.
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.
What is the way to test beyond login_required?
Trying this in spec/requests does not seem to help:
@user = FactoryGirl.create :user
cookies[:auth_token] = @user.auth_token
Results in a redirect to the signin page. Can anybody help with this?
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?
Having the exact same issue... did you resolve this?