CristiRazvi / enum_attributes_validation

Enum Attributes Validation provides validation functionality for enum attributes in models.
MIT License
32 stars 7 forks source link

Support setting value from a number #7

Open Paxa opened 5 years ago

Paxa commented 5 years ago

as:

my_record.direction = MyRecord.directions[:east]

currently it will not allow to do it