|
|
@ -196,9 +196,8 @@ class CaseLog < ApplicationRecord |
|
|
|
end |
|
|
|
end |
|
|
|
|
|
|
|
|
|
|
|
def person_1_economic_status=(value) |
|
|
|
def person_1_economic_status=(value) |
|
|
|
# We override the default method so that when the value for this is changed we |
|
|
|
# When the value for this is changed we also reset the applicable income range |
|
|
|
# also reset the applicable income range used for validation, while still being |
|
|
|
# used for validation, while still being able to cache it when this field hasn't changed |
|
|
|
# able to cache it when this field hasn't changed |
|
|
|
|
|
|
|
@applicable_income_range = nil |
|
|
|
@applicable_income_range = nil |
|
|
|
super(value) |
|
|
|
super(value) |
|
|
|
end |
|
|
|
end |
|
|
|