ErwinM / acts_as_tenant

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

Remove unused variable #216

Closed chevinbrown closed 4 years ago

chevinbrown commented 4 years ago

https://github.com/ErwinM/acts_as_tenant/issues/211

  1. This variable appears to be unused
  2. This requires a db-connection to use. For my use-case, we have initializers that instantiate a few things before there is a db-connection, so this caused a regression.

I'd love to understand why this needs to be here if it's used.

ErwinM commented 4 years ago

Good catch. Thx.