Project

deb

0.0
No commit activity in last 3 years
No release in over 3 years
Double Entry Bookkeeping for Rails
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

Runtime

>= 0
~> 4.0
 Project Readme

Double Entry Bookkeeping for Rails

Inspired by (plutus)[https://github.com/mbulat/plutus].

Depricated, plz use [https://github.com/astrails/debitcredit]https://github.com/astrails/debitcredit

Installation

  gem "deb"

  rails g deb
  rake db:migrate

Example

  @asset = Account.create(kind: "asset")
  @revenue = Account.create(kind: "revenue")
  @liability = Account.create(kind: "liability")

  Transaction.start! do
    debit @asset, 12
    credit @revenue, 5
    credit @liability, 7
    description "foobar"
    reference @mysome_record
  end

TODO: more documentation: balances

Copyright (c) 2013 Boris Nadion