From 4d6f2d37298df559cc9f588d3e5519c60ba3c07d Mon Sep 17 00:00:00 2001 From: Benjamin Randolph Date: Tue, 5 Nov 2024 15:04:26 -0700 Subject: [PATCH] Update ordering of brackets. --- app/models/federal_tax_bracket.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/federal_tax_bracket.rb b/app/models/federal_tax_bracket.rb index efb3fa7..3da6fde 100644 --- a/app/models/federal_tax_bracket.rb +++ b/app/models/federal_tax_bracket.rb @@ -31,7 +31,7 @@ class FederalTaxBracket < ApplicationRecord monetize :cumulative_cents def self.order_by_range - all.order(:bottom_range_cents) + all.order(:federal_tax_table_type_id, :bottom_range_cents) end def update_rate(rate:)