Casecommons/pg_search — pull request #124 by openfirmware (2013-07-08 02:32:34+00:00)
Title: Compare protected method list as strings

Fixes #90, a compatibility issue between Ruby 1.8.7 and Ruby 1.9.3 that would cause a Rails 2 app to try to use the Rails 3 method of wrapping scope, which would prevent `pg_search_scope` from working.

Ruby 1.9.3 returns symbols from enumerations, whereas 1.8.7 would return strings.