ernie/ransack — pull request #245 by merhard (2013-06-27 19:03:37+00:00)
Title: fix 'distinct: true' bug

-using .uniq caused Active Record errors on search results sorted by associated model's attribute
-changed .uniq to using hash keys to ensure distinctness of results