vets-api
vets-api copied to clipboard
Resolve alias_attribute Deprecation Warnings
Summary
- Remove a deprecation warning from two files
-
app/models/form526_job_status.rb
-
app/models/saved_claim/disability_compensation.rb
-
- switched to
alias
forForm526JobStatus
- remove
alias_attribute
forSavedClaim::DisabilityCompensation
because isn't used anymore- https://github.com/department-of-veterans-affairs/vets-api/pull/4039
Related issue(s)
- https://github.com/department-of-veterans-affairs/va.gov-team/issues/83001
Testing done
- [x] Run test suite locally
Acceptance criteria
- [x] No
alias_attribute
deprecation warnings in the CI logs
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/models/saved_claim/disability_compensation.rb
Error: A file (or its parent directories) does not have a CODEOWNERS entry. Please update the .github/CODEOWNERS file and add the entry for the Offending file: app/models/saved_claim/disability_compensation.rb