include :select if it begins with 'DISTINCT'
-
DEkart
It seems, this fix does not work. You should use 'if' statement instead of 'unless':
if options[:select] and options[:select] =~ /^\s*DISTINCT/i
excludees << :select
end
In this case this fix will work
-
Mislav
DEkart,
What sense does that make? My solution has unit tests that passes.
-
DEkart
It works fine when e have one page of data, but does not work when you have at least 2 pages.
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
