Skip to content

Update README adapt to Rails 6 [skip ci] #9

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

soartec-lab
Copy link

@soartec-lab soartec-lab commented Apr 2, 2020

First of all, thank you for developing a great gem

Summary

In the change from rails5 to rails6,
There were no changes to the ActiveRecord::Base.clear_all_connections! and ActiveRecord::Base.clear_active_connections! ActiveRecord methods called in this gem.

See: https://github.com/rails/rails/blame/e00f9c8aaea3fbedc2d19926da4f4575c12f0aaa/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb

Therefore, I added to README that this gem works on rails6.

could you verification?

@soartec-lab soartec-lab force-pushed the task/update_readme_adapt_to_rails_6 branch from 4a32288 to 06f7346 Compare April 2, 2020 10:58
@kamipo
Copy link

kamipo commented Jun 4, 2021

FYI the section for Rails 5 was added in #6 since at that time Rails 5.0.0 have the race condition #5 (comment).

That was already fixed by rails/rails#27057 and backported rails/rails@fd21a57 in Rails 5.0.1.

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

Successfully merging this pull request may close these issues.

2 participants