rails/rails — pull request #12084 by Ben-M (2013-08-30 10:08:16+00:00)
Title: Fix STI scopes using benolee's suggestion. Fixes #11939

Benolee's suggestion works and all the tests pass so why not use it? Fixes #11939.