Skip to content

armgit / sure

Public Imported from GitHub
0

The personal finance app for everyone (by everyone)

Ruby

fix RuboCop Layout/SpaceInsideArrayLiteralBrackets on included_in_reports scope

DataEnginr8d514525a6e9
diff --git a/app/models/account.rb b/app/models/account.rb
index e8888795aa..e2f99dc727 100644
--- a/app/models/account.rb
+++ b/app/models/account.rb
@@ -46,7 +46,7 @@ class Account < ApplicationRecord
scope :visible, -> { where(status: VISIBLE_STATUSES) }
scope :historical, -> { where(status: HISTORICAL_STATUSES) }
- scope :included_in_reports, -> { where(exclude_from_reports: [false, nil]) }
+ scope :included_in_reports, -> { where(exclude_from_reports: [ false, nil ]) }
scope :assets, -> { where(classification: "asset") }
scope :liabilities, -> { where(classification: "liability") }
scope :alphabetically, -> { order(:name) }