rails/rails — pull request #14586 by arthurnn (2014-04-03 17:14:03+00:00)
Title: Enums need to raise on conflict singular class methods

When writing enum tests for https://github.com/rails/rails/pull/14582, I realized that there was one missing check for enum conflict names.

This should not be allowed:
```ruby
enum :all => ["value_#{i}"] }
```

review @chancancode @rafaelfranca