Sha256: 5f941269252ab7c7a31361cdf397e0523d23296d837c997e7cff863ce76523df
Contents?: true
Size: 558 Bytes
Versions: 3
Compression:
Stored size: 558 Bytes
Contents
require 'peoplefinder' class Peoplefinder::ReportedProfile < ActiveRecord::Base self.table_name = 'reported_profiles' belongs_to :notifier, class_name: 'Person', foreign_key: 'notifier_id' belongs_to :subject, class_name: 'Person', foreign_key: 'subject_id' validates :notifier_id, presence: true validates :subject_id, presence: true validates :recipient_email, presence: true validates :reason_for_reporting, presence: true REASONS = [ 'Duplicate profile', 'Incorrect details', 'This person has left the department' ] end
Version data entries
3 entries across 3 versions & 1 rubygems