Browse Source

Shorten comment

pull/58/head
baarkerlounger 4 years ago
parent
commit
b788d3cede
  1. 5
      app/models/case_log.rb

5
app/models/case_log.rb

@ -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

Loading…
Cancel
Save