clarion/app/models/user.rb

11 lines
339 B
Ruby
Raw Normal View History

2014-07-28 14:15:08 +03:00
class User < ActiveRecord::Base
# Include default devise modules. Others available are:
# :lockable, :timeoutable and :omniauthable
devise :database_authenticatable, :registerable, :confirmable,
:recoverable, :rememberable, :trackable, :validatable
2014-08-30 17:31:29 +03:00
has_one :speaker_profile
2014-08-30 17:31:29 +03:00
has_many :lectures
has_many :workshops
2014-07-28 14:15:08 +03:00
end