From f80299d1ca2ccf569c86dae200444a94c7474241 Mon Sep 17 00:00:00 2001 From: mathmerized Date: Thu, 21 Mar 2019 09:05:17 -0400 Subject: [PATCH 1/2] dont need final save on asset depr job as already saves in updating book value --- app/jobs/asset_depreciation_expense_update_job.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/jobs/asset_depreciation_expense_update_job.rb b/app/jobs/asset_depreciation_expense_update_job.rb index 633fc37b..20a11d7a 100644 --- a/app/jobs/asset_depreciation_expense_update_job.rb +++ b/app/jobs/asset_depreciation_expense_update_job.rb @@ -13,7 +13,6 @@ def run asset_klass.not_in_transfer.where.not(current_depreciation_date: Policy.first.current_depreciation_date).each do |a| asset = asset_klass.get_typed_asset(a) asset.update_asset_book_value - asset.save(validate: false) end end From da37ceb73c9bd9f3ee8d996a5ffba38a908f1f9c Mon Sep 17 00:00:00 2001 From: Lydia Chang Date: Tue, 26 Mar 2019 07:20:14 -0400 Subject: [PATCH 2/2] Bump version --- lib/transam_accounting/version.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/transam_accounting/version.rb b/lib/transam_accounting/version.rb index 975f667b..509d990f 100644 --- a/lib/transam_accounting/version.rb +++ b/lib/transam_accounting/version.rb @@ -1,3 +1,3 @@ module TransamAccounting - VERSION = "2.5.0" + VERSION = "2.5.1" end