ErwinM / acts_as_tenant

Easy multi-tenancy for Rails in a shared database setup.
MIT License
1.53k stars 262 forks source link

Question: Migration to CurrentAttributes. #325

Closed barruda closed 6 months ago

barruda commented 6 months ago

Hey there, first I would like to thanks for the amazing job, the gem is really a gem :drum: :smile:

May I kindly ask if the migration to ActiveSupport::CurrentAttributes have any relation to deprecation of rails 5.2?

I work on a big monolith on rails 5.2 and was planning to use it for authentication purposes...

Have you got any issues using it on 5.2 or is it only a conscidence?

Thanks VERY MUCH in advance !

excid3 commented 6 months ago

CurrentAttributes was added in Rails 5.2 It should still work fine with 5.2, but we're no longer supporting it since it's EOL and our test suite requires Rails 6+.

barruda commented 6 months ago

thank you! excid3!