solution to postgresql activerecord error w Uppercase columns