demarches-normaliennes/app/models/expert.rb
2021-01-26 13:59:09 +01:00

15 lines
275 B
Ruby

# == Schema Information
#
# Table name: experts
#
# id :bigint not null, primary key
# created_at :datetime not null
# updated_at :datetime not null
#
class Expert < ApplicationRecord
has_one :user
def email
user.email
end
end