enum_fu is a rails plugin with which you can use integer fields in DB as enum typed in ActiveRecord - View it on GitHub
Star
1
Rank
4891825