bundle gem bitwise_enum
setup rails 4.1
Gemfile to simple
implementation bitwise_enum