blob: 05dc8cff1954533945c217a459251bdd74517457 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
|
# frozen_string_literal: true
class Report < ApplicationRecord
belongs_to :account
belongs_to :target_account, class_name: 'Account'
scope :unresolved, -> { where(action_taken: false) }
scope :resolved, -> { where(action_taken: true) }
end
|