double_entry icon indicating copy to clipboard operation
double_entry copied to clipboard

A double-entry accounting system for Ruby applications.

Results 12 double_entry issues
Sort by recently updated
recently updated
newest added

Is there anything blocking for version 2.0 release. It has been more than a year for beta version.

Unfortunately `shopify-money` and `money` do not play well together. Both gems provide a `Money` class and an entry point into the gem at `lib/money.rb`. This makes it pretty difficult to...

We want to show the balance and recent transactions on screen for our users, and wanted a convenient way to expose the line items. This PR ensures that the line...

Hi, the `LineCheck` can find the accounts which `scope: nil` but the `AccountFixer` didn't fix it correctly. https://github.com/envato/double_entry/blob/37ea766a8f87ab72e9f4b131abd61fec85d10d62/lib/double_entry/validation/account_fixer.rb#L23-L28 The line ` scope: account.scope_identity.to_s` always convert `nil` to `""` (empty string)...

This is related to #206 which ensure `LineCheck` and `AccountFixer` can correct detect `unscoped` account (`scope = nil`) and fix to the correct balance. > This is a proposal way,...

Consider the following code: ``` ruby class Invoice::Payer # ... def pay @invoice.lock do payment = CreditCard::Charger.charge(@invoice.account.credit_card, @invoice.description, @invoice.amount) if payment.success? @invoice.update(paid: true) end end end end class CreditCard::Charger #...

Hey! It looks like latest rubygems version does not include fixes for optional details requirement. Could you please release new version? Is current beta state is usable?

Had instances where during Line creation, `AccountWouldBeSentNegative` is thrown. This rolled back the Line record but the balance update for AccountBalance wasn't getting rolled back. This made positive-only accounts go...

I got this deprecation warning when executed `DoubleEntry::Validation::LineCheck.perform!` ``` DEPRECATION WARNING: Using `return`, `break` or `throw` to exit a transaction block is deprecated without replacement. If the `throw` came from...

I have a ledger running with an account type set to `positive_only` true. See the Wallet account type in the following: https://github.com/sudhirj/notecase/blob/master/config/initializers/double_entry.rb This works fine normally, but on a very...