Sha256: e1f46a54efd0989d7cbf5440654ab94a0e5a2ff98ea424156b9fd0a825c54d83

Contents?: true

Size: 262 Bytes

Versions: 2

Compression:

Stored size: 262 Bytes

Contents

require 'vidibus-uuid'

module Vidibus
  module User
    module Mongoid
      extend ActiveSupport::Concern
      included do
        field :uuid, type: String
        field :email, type: String
        validates :uuid, :uuid => true
      end
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vidibus-user-1.0.1 lib/vidibus/user/mongoid.rb
vidibus-user-1.0.0 lib/vidibus/user/mongoid.rb