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
3
Rank
2932739