Debt manager written in Rails