11 lines
339 B
Ruby
11 lines
339 B
Ruby
class User < ActiveRecord::Base
|
|
# Include default devise modules. Others available are:
|
|
# :lockable, :timeoutable and :omniauthable
|
|
devise :database_authenticatable, :registerable, :confirmable,
|
|
:recoverable, :rememberable, :trackable, :validatable
|
|
|
|
has_one :speaker_profile
|
|
has_many :lectures
|
|
has_many :workshops
|
|
end
|