In the process of switching my development environment from sqlite3 to postgresql 8.4 and the last hurdle.
In my original, I had the following line in a helper method:
result = Users.find(:all, :order => "name collate NOCASE")
which provided a very good case insensitive search. I can not reproduce this for postgresql. It should be easy - any ideas?
Thank.
ruby ruby-on-rails case-insensitive sql-order-by postgresql order
brad Jun 06 '10 at 9:18 2010-06-06 09:18
source share