Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session is not saved on rails 4.2.10 and devise 3.4.1 #118

Open
ajinkyapisal opened this issue Nov 23, 2017 · 2 comments
Open

Session is not saved on rails 4.2.10 and devise 3.4.1 #118

ajinkyapisal opened this issue Nov 23, 2017 · 2 comments

Comments

@ajinkyapisal
Copy link

When using the latest version of activerecord-session_store (1.1.0), the session is not saved in the database.

If I login into the application then the login is successful and it redirects the user to the home page of the app but there as the session is not stored it again redirects the user to the login page. It keeps on doing this never ending redirect loop.

I tried changing session store to cookie_store and there it works fine.

There are some warnings in the log but no error is reported

Warning! ActionDispatch::Session::ActiveRecordStore failed to save session. Content dropped.

Note: I have upgraded from rails 3.2 to rails 4.2.10

@ajinkyapisal ajinkyapisal changed the title Session is not saved on 4.2.10 and devise 3.4.1 Session is not saved on rails 4.2.10 and devise 3.4.1 Nov 23, 2017
@rafaelfranca
Copy link
Member

Rails 4.2 is not officially supported anymore. I recommend you to investigate and submit a patch. We may accept depending on the patch.

@PirunSeng
Copy link

PirunSeng commented Feb 2, 2018

Rails 4.2 is not officially supported anymore. I recommend you to investigate and submit a patch. We may accept depending on the patch.

I'm about to include this gem in my Rails 4.2.2 app. Unluckily, it's not officially supported.
Anyway, @rafaelfranca it would be good if you could update the RUNTIME DEPENDENCIES in RubyGems regarding to Rails version. And, may I ask which Rails versions are supported by this gem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants