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

Update self.authenticate method in mongoid.rb.tt #2185

Merged
merged 2 commits into from
May 26, 2018

Conversation

LarryFransson
Copy link
Contributor

Update line 30 to specify Object::Regexp due to a collision with Mongoid::Matchable::Regexp:Class that produces a NoMethodError when simply calling Regexp.escape.

Updated self.authenticate method at line 30 to specify Object::Regexp due to a collision with Mongoid::Matchable::Regexp:Class that was producing a NoMethodError when simply calling Regexp.escape.
Update self.authenticate method in mongoid.rb.tt
@ujifgc ujifgc merged commit f7073c8 into padrino:master May 26, 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

Successfully merging this pull request may close these issues.

2 participants