Created
March 27, 2015 03:09
-
-
Save croaky/d2f1e0773795f39b04c2 to your computer and use it in GitHub Desktop.
Clearance with Mongoid
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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