lib/vidibus/user/mongoid.rb in vidibus-user-0.0.4 vs lib/vidibus/user/mongoid.rb in vidibus-user-0.0.5
- old
+ new
@@ -2,9 +2,10 @@
module User
module Mongoid
extend ActiveSupport::Concern
included do
field :uuid
+ field :email
validates :uuid, :uuid => true
end
end
end
end