class User < ApplicationRecord has_secure_password has_many :candidates, foreign_key: "recruiter_id" end