Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(wallet): Add validation rule on rate_amount (#2547)
## Context This PR adds a validation rule to `wallet#rate_amount` to make sure it will always be a positive value. It will fixes the following dead job related to wallets with rate_amount = 0 ``` ActiveRecord::RecordInvalid Validation failed: Ongoing balance is not a number, Ongoing usage balance is not a number (ActiveRecord::RecordInvalid) ```
- Loading branch information