completes #84 : interview request status tweaks
This commit is contained in:
@ -23,6 +23,11 @@ class Candidate < ApplicationRecord
|
||||
declined: 2
|
||||
}
|
||||
|
||||
def interview?
|
||||
return 'yes' if approved?
|
||||
'no' if declined?
|
||||
end
|
||||
|
||||
def build_reviews
|
||||
reviewers.each do |reviewer|
|
||||
votes.find_or_create_by(user_id: reviewer.id)
|
||||
|
Reference in New Issue
Block a user