Advertisement
Ankhwatcher

user.rb

Aug 12th, 2013
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Ruby 0.17 KB | None | 0 0
  1. class User
  2.   include Mongoid::Document
  3.  
  4.   field :username, type: String
  5.   field :email, type: String
  6.   field :password, type: String
  7.   #attr_protected :password
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement