From 542ae20e69609f8268bcc8a2e8c8fbd382aaffd9 Mon Sep 17 00:00:00 2001 From: mattscilipoti Date: Mon, 16 May 2016 12:49:44 -0400 Subject: [PATCH] Klass#materials_fee remove unused :multiplier option MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In reviewing issue, noticed that multiplier option was NOT working. Sure enough, this code didn’t need it. https://github.com/thoughtbot/administrate/issues/520 --- app/dashboards/klass_dashboard.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/app/dashboards/klass_dashboard.rb b/app/dashboards/klass_dashboard.rb index 46e7d96..f2cbb48 100644 --- a/app/dashboards/klass_dashboard.rb +++ b/app/dashboards/klass_dashboard.rb @@ -19,7 +19,6 @@ class KlassDashboard < Administrate::BaseDashboard student_count_maximum: Field::Number, materials_fee: Field::Number.with_options( prefix: "$", - multiplier: 0.01, decimals: 2, ), }.freeze