I updated from RoR 4.0.4 to 4.1.1 to apply the latest security patch and it appears pg_search broke.
Here\'s a error:
PG::SyntaxError: ERROR: syn
There is a good conversation here to clarify the problem.