Skip to content

Mongoid usage #3

Description

@jonjenkins

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions