Skip to content

Instantly share code, notes, and snippets.

@croaky
Created March 27, 2015 03:09
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save croaky/d2f1e0773795f39b04c2 to your computer and use it in GitHub Desktop.
Save croaky/d2f1e0773795f39b04c2 to your computer and use it in GitHub Desktop.
Clearance with Mongoid
class User
include Clearance::User
include Mongoid::Document
field :confirmation_token, type: String
field :email, type: String
field :password, type: String
field :remember_token, type: String
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment