Defined methods to get the value of enums from the class Ex: User.role.admin #=> 2
Defined methods to get the value of enums from the class Ex:
User.role.admin #=> 2

brainspec/enumerize,tranvictor/enumerize,monfresh/enumerize,shaundunne/enumerize,victor95pc/enumerize,quarkstudio/enumerize,tanraya/enumerize,hungrything/enumerize