Adds belongs_to_enum method to ActiveRecord::Base, allowing enums to be created with associated scopes and more.
Jeremy walker
无