tokyorails/tokyorails — pull request #30 by bonsaiben (2012-05-11 14:24:13+00:00)
Title: case insensitive query for member search with postgresql

Member search is case insensitive locally but sensitive in production, because ``LIKE`` is case insenstive in sqlite and sensitive in postgresql.

This commit uses UPPER on both sides of the ``LIKE`` comparison for case insensitivity even on postgresql.

Note, this is untested on postgresql, as I don't have it setup on my local environment.