Skip to content

Conversation

@hauleth
Copy link

@hauleth hauleth commented Feb 24, 2014

Mongoid #to_key returns BSON::ObjectId which is serialized to {"$oid": "blahblah"}. This method will now return string which will not cause errors like heartcombo/devise#2882.

@ianwhite
Copy link
Owner

ianwhite commented Aug 5, 2014

I'm not familiar enough with the Devise/Mongoid combo that causes this issue. Is there a consensus on heartcombo/devise#2882 as to whether providing a simple_key method will fix this?

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