Posts tagged with authlogic session rspec cucumber (1)

Feb04 authlogic avoiding ending up with multiple sessions post author

authlogic session rspec cucumber | comments

Authlogic is cool to handle your authentication. But in my new app the admin user was the one who created new users and updated them also. There I stumbled with a funny gotcha. Admin logged out and there was the user session of the users just created/updated. The thing is authlogic when you save a model that acts a authenticated you got a user session created. The trick is to told authlogic to save but not creating a session.

Continue reading »