Make detail association optional in DoubleEntry::Line
Looooong opened this issue · comments
Nguyễn Đức Long commented
Do the library enforce the presence of :detail
option in DoubleEntry.transfer
? If not, please make the detail
association in DoubleEntry::Line
optional, because Rails 5 makes belongs_to
association required by default.