added enum hotfix for rails 4