mirror of
https://github.com/oonyeje/Pearlception_Website_RoR.git
synced 2025-12-25 19:57:41 +00:00
- Create route and view implemented with minimal info - index implemented and shows number of registered companies
9 lines
306 B
Ruby
9 lines
306 B
Ruby
class User < ApplicationRecord
|
|
belongs_to :company
|
|
has_many :runs
|
|
# Include default devise modules. Others available are:
|
|
# :confirmable, :lockable, :timeoutable and :omniauthable
|
|
devise :database_authenticatable, :registerable,
|
|
:recoverable, :rememberable, :trackable, :validatable
|
|
end
|