rails/rails — pull request #15045 by xanhast (2014-05-09 20:47:15+00:00)
Title: Documentation, add examples of using an Enum scope

When scanning the Enum API page I found it easy to miss that scopes are generated. Adding an example clarifies use and has more... *pop*...