From cf3a41889cae58293f229742dfa16c38005f0db3 Mon Sep 17 00:00:00 2001 From: Gregor Schmidt Date: Fri, 17 Dec 2010 19:21:11 +0100 Subject: [PATCH] People rely on this method raising NotImplementError and working with no arguments --- app/models/report/filter/base.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/models/report/filter/base.rb b/app/models/report/filter/base.rb index 9803378bcf..94ec703c6f 100644 --- a/app/models/report/filter/base.rb +++ b/app/models/report/filter/base.rb @@ -56,7 +56,7 @@ class Report::Filter super end - def self.available_values(user) + def self.available_values(params = {}) raise NotImplementedError, "subclass responsibility" end @@ -122,4 +122,4 @@ class Report::Filter end end end -end \ No newline at end of file +end