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

Mongoid usage #3

Open
jonjenkins opened this issue Feb 9, 2011 · 0 comments
Open

Mongoid usage #3

jonjenkins opened this issue Feb 9, 2011 · 0 comments

Comments

@jonjenkins
Copy link

I swear I had the user auth controller presented here working with Mongoid before despite this statement:

authentication = UserToken.find_by_provider_and_uid(omniauth['provider'], omniauth['uid'])

... but when I re-ran it last night (after a gem reinstall), the method failed. Perhaps something changed in my gem versioning since I wasn't explicit... I'm on 1.2.rc for Mongoid. I will re-write as a Mongoid query, but has anyone already implemented this using Mongo/Mongoid?

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

1 participant