rails/rails — pull request #12747 by yury (2013-11-03 00:49:56+00:00)
Title: Explicit mapping for enum

Allow to pass explicit mapping values to enum.

I don't strict values to integers, so if needed, strings can be used.