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