2019-07-03 19:59:21 +00:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
#
|
2019-07-03 19:33:26 +00:00
|
|
|
# Usuarie de la plataforma
|
|
|
|
class Usuarie < ApplicationRecord
|
2019-07-03 19:59:21 +00:00
|
|
|
devise :database_authenticatable,
|
|
|
|
:recoverable, :rememberable, :validatable,
|
|
|
|
:confirmable, :lockable, :registerable
|
|
|
|
|
|
|
|
validates_uniqueness_of :email
|
2019-07-03 19:33:26 +00:00
|
|
|
end
|