I\'ve got a Rails 4.1 app in which I use an enum to represent the privacy level of an object.
In my schema:
t.integer \"privacy_level\", default: 0
do this:
f.input :privacy_level, :as => :select, :collection => privacy_level.keys.to_a