masciugo/genealogy — pull request #4 by mjc (2014-08-03 04:43:12+00:00)
Title: Support activerecord enums

This patch allows the use of ActiveRecord 4.1 enum for the sex attribute.

If male? and female? exist it will use them, and also values longer than two characters will be allowed.

In order for this to work, the enum must be above has_parent in the model.