All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Use unambiguous
Account#with_amounts
scope - Remove precision/scale to avoid
PG::NumericValueOutOfRange
exception due to precision/scale not being large enough
- Remove
AddBorutusAmountCounterCache
reset counter code
- Fix
AddBorutusAmountCounterCache
migration
- Add correct migration for
Borutus::Account.amounts_count
- Add
Borutus::Account.with_amounts
scope that fetches accounts with amount entries
- Change usage of
BigDecimal.new
toBigDecimal()
- Change
FactoryGirl
toFactoryBot
- Add
#change_amount
column foraccount.entries.with_running_balance
association proxy collection
- Add
account.entries.with_running_balance
association proxy method - Add
pry-byebug
inGemfile
for local development
- Fix loading of jquery-ui files (Fixes https://github.com/mbulat/borutus/issues/58)
- Add
Account#amounts
andAccount#entries
to get all amounts and entries, respectively
- How migrations are done, which may be a breaking change from older versions of Borutus. When upgrading to this version, run
rake borutus:install:migrations
, and ensure that the files that are generated are of migrations you only need. It should not generate new versions if you've installed the latest version before this.