upgraded enum rails 4.1