|
|
@ -38,7 +38,6 @@ class CaseLog < ApplicationRecord |
|
|
|
include Discard::Model |
|
|
|
include Discard::Model |
|
|
|
include SoftValidations |
|
|
|
include SoftValidations |
|
|
|
include DbEnums |
|
|
|
include DbEnums |
|
|
|
require "uk_postcode" |
|
|
|
|
|
|
|
default_scope -> { kept } |
|
|
|
default_scope -> { kept } |
|
|
|
scope :not_completed, -> { where.not(status: "completed") } |
|
|
|
scope :not_completed, -> { where.not(status: "completed") } |
|
|
|
|
|
|
|
|
|
|
|