Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception raised when using with cancancan 2.x & Mongoid #2888

Closed
PikachuEXE opened this issue May 31, 2017 · 1 comment
Closed

Exception raised when using with cancancan 2.x & Mongoid #2888

PikachuEXE opened this issue May 31, 2017 · 1 comment

Comments

@PikachuEXE
Copy link
Contributor

cancancan 2.0 dropped support for mongoid
https://github.com/CanCanCommunity/cancancan/blob/develop/CHANGELOG.rdoc

Error was:
NoMethodError - undefined method 'accessible_by' for SomeMongoidDocument:Class

@coorasse
Copy link
Contributor

Maybe you want to look into cancancan-mongoid. we released the first beta version. fyi there is also another issue with cancancan 2.0 CanCanCommunity/cancancan#413

@mshibuya mshibuya closed this as completed May 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants