Class: Accountability::Debit

Inherits:
ApplicationRecord show all
Defined in:
app/models/accountability/debit.rb

Overview

We reset the account’s :last_balanced_at after a debit is created. It is very important to make sure that the value is always accurate.

Method Summary

Methods inherited from ApplicationRecord

validates_attributes