alassek / activerecord-pg_enum

Integrate PostgreSQL's enumerated types with the Rails enum feature
MIT License
168 stars 10 forks source link

Document support for enum options #6

Closed AndrewSpeed closed 4 years ago

AndrewSpeed commented 5 years ago

After posting https://github.com/alassek/activerecord-pg_enum/issues/5 I did some digging and discovered that the gem does support enum options :man_facepalming:

I've added a test covering this functionality and updated the README with an example

closes https://github.com/alassek/activerecord-pg_enum/issues/5

alassek commented 4 years ago

I think this works by accident, but I'll take it! 😄