vitaly / debitcredit

Double Entry Accounting for Rails
MIT License
18 stars 8 forks source link

`Debitcredit::Account::BadKind` because of ignored `reference` #6

Closed vitaly closed 6 years ago

vitaly commented 9 years ago

e.i.


user.accounts[:foo, :expense]

# this will 'find' the :foo account from above and fail with the `BadKind` exception.
DebitCredit::Accounts[:foo, :asset]
vitaly commented 9 years ago

minor issue. don't call referenced and global accounts by a same name ;)