12345678910 |
- class User < ApplicationRecord
- # Include default devise modules. Others available are:
- # :confirmable, :lockable, :timeoutable and :omniauthable
- devise :masqueradable, :database_authenticatable, :registerable,
- :recoverable, :rememberable, :trackable, :validatable
- def name
- "#{first_name} #{last_name}"
- end
- end
|