Intermittent success with Devise sign in after installing activerecord-session_store in rails 4.2.6

Open
#83 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
rails, ruby

Research direction

No files or tests are identified. Start by reproducing the intermittent Devise sign-in with Rails 4.2.6, activerecord-session_store 1.0.0, and Devise 4.1.1, then inspect whether the session persists across the redirect. Done means successful sign-in consistently retains current_user.

Written by the indexing model from the issue text.

Description

I installed activerecord-session_store the other day and all seemed well. Deployed to production, and fixed an issue I was having with something else. Only issue now is that ~30% of the time sign in with devise isn't working correctly. The sign in appears to authenticate and redirect to the correct user page, but current_user is gone... So, assuming this has to do with using activerecord-session_store.

Using

activerecord-session_store (1.0.0)
devise (4.1.1)
Dominant language
Ruby
Stars
603
Forks
192
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from rails/activerecord-session_store

All issues in rails/activerecord-session_store

Similar issues

More Ruby issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.