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
@supports.count(:all) should work, the @supports.count syntax got deprecated in rails 4.1.1
@supports.count(:all)
@supports.count