PerfectMemory/mongoid-multitenancy

MongoId 5 compatibility

Closed this issue · 4 comments

Found an issue in using MongoId 5:
mongoid/multitenancy.rb:11:

def mongoid4?
  MongoId::VERSION.start_with? '4'
end

I change the number to '5', it works well with mongoid 5. but I didn't test all things.

Could you update this GEM to work with MongoId 5?

yes, I also need it.
Please update code and release it, thanks

Fixed in 8c7582b

Thank you very much :)

I have released a new version 1.0.0. Please read carefully the changelog before upgrading.