Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix uninitialized constant X::ActiveRecord::VERSION (#42)
When the class that calls `multi_tenant` has another ActiveRecord class included, then this reference may resolve to the wrong ActiveRecord class. Make sure that does not happen by using ::ActiveRecord. This happened for example if activerecord-multi-tenant and mobility gem were used in the same project.
- Loading branch information