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

TypeError: compared with non class module #247

Closed
chandanbenjaram opened this issue Aug 10, 2017 · 3 comments
Closed

TypeError: compared with non class module #247

chandanbenjaram opened this issue Aug 10, 2017 · 3 comments
Labels

Comments

@chandanbenjaram
Copy link

After an upgrading to Ruby2.3.4, Rails5.1.3, mongoid 6.2.0, we are seeing issues popping up from 'mongoid-slug', '~> 5.3.3'

Here are additional details:
https://gist.github.com/chandanbenjaram/abb3e96ce8fbc5358996f0c62a68a3bd

@chandanbenjaram
Copy link
Author

Hello, anyone?

@dblock dblock changed the title [HELP] mongoid-slug failing on Ruby2.3.4/Rails5.1.3/MongoId6.2.0 TypeError: compared with non class module Aug 17, 2017
@dblock
Copy link
Collaborator

dblock commented Aug 17, 2017

Looks like a bug to me. The error you're getting is TypeError: compared with non class module from here. Figure out what value it's trying to convert here and then try to turn this into a spec?

@syzspectroom
Copy link

recently faced this issue. here is my proposed fix: #251

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

Successfully merging a pull request may close this issue.

3 participants