ErwinM / acts_as_tenant

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

Replace rails dependency by activerecord #270

Closed abrisse closed 2 years ago

abrisse commented 2 years ago

Hello there,

Would it be possible to replace the dependency on rails by a dependency on activerecord for non-rails projects? rails could stay on development dependencies for the unit tests.

We can work on a PR, but we wanted to know if there was a catch first.

Thanks

excid3 commented 2 years ago

I'd be open to it. You might run into other things that depend on ActionController integration, so those may need adjustments as well.

Depending on how many changes are needed, I'm not sure if it will warrant the extra maintenance required?