Closed mjc closed 10 years ago
that's ok but the first commit is redundant as explained here. Also the note about the order of enum and has_parents needs to be added to the readme in the installation section
should be ok in version 1.3.0. Can I have a feedback please?
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.