ankane/hightop

Case insensitive keys?

johnroa opened this issue · 1 comments

First off, great gem!

Second, it seems grouping is currently case sensitive:

{ "This Is A Key"=>57, "this is a key"=>6, "etc"=>6 }

Possible to include an option to ignore case?

Thanks John. You can do:

Visit.top("LOWER(referring_domain)") # or
Visit.top("UPPER(referring_domain)")

which is less typing (and more explicit) than something like case_sensitive: false.