justinfrench/formtastic — pull request #1113 by gdott9 (2014-11-24 11:09:11+00:00)
Title: Use `defined_enums` to fetch collection from enum

By using `defined_enums` instead of `.send(pluralized_method)`, only one
method is needed to implement enum support with form objects.

With gems like Reform, we need to define a new class method for each enum in my form objects if we want to use the enum detection. With that PR, only `defined_enums` is needed.