02059ad2a8
All the personal data of the user that is not used for system tasks (such as login) is held here.
10 lines
265 B
Ruby
10 lines
265 B
Ruby
class SpeakerProfile < ActiveRecord::Base
|
|
belongs_to :user
|
|
|
|
validates :first_name, presence: true
|
|
validates :last_name, presence: true
|
|
validates :photo_url, presence: true
|
|
validates :mobile_phone, presence: true
|
|
validates :biography, presence: true
|
|
end
|