Since the method has only 1 required parameter one can easily forget to put the query attribute symbol/string before defining the filter class to be used for filtering, and the error that results from that is very obfuscated.
Add a check that raises an error if the parameter is not a symbol or string (or proc, to support dynamic attribute names)