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

db:mongoid:create_indexes fails with 'The field 'name' must be a string, but got symbol' #93

Closed
ubswrk opened this issue Apr 4, 2019 · 0 comments · Fixed by #94
Closed

Comments

@ubswrk
Copy link

ubswrk commented Apr 4, 2019

OldPassword model line 16:
index({ password_archivable_type: 1, password_archivable_id: 1 }, name: 'index_password_archivable')

index name should be string and not symbol

@olbrich olbrich added this to the 0.14.0 milestone Apr 9, 2019
olbrich added a commit to west-end-ruby/devise-security that referenced this issue Apr 13, 2019
olbrich added a commit that referenced this issue Apr 13, 2019
* Adjust mongoid indexes, fixes #93
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants