diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-27 01:39:52 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-29 10:54:51 -0800 |
commit | 40f0257e05d8735d94684043ea7be7295fbbae57 (patch) | |
tree | 3f8d763cfc6d0d87b9bbc530444b632b3b31ba19 /ci | |
parent | 7e8e91c439c1a877f867cd7ba634f7297ccef04b (diff) | |
download | rails-40f0257e05d8735d94684043ea7be7295fbbae57.tar.gz rails-40f0257e05d8735d94684043ea7be7295fbbae57.tar.bz2 rails-40f0257e05d8735d94684043ea7be7295fbbae57.zip |
`enum` now raises on "dangerous" name conflicts
Dangerous name conflicts includes instance or class method conflicts
with methods defined within `ActiveRecord::Base` but not its ancestors,
as well as conflicts with methods generated by other enums on the same
class.
Fixes #13389.
Diffstat (limited to 'ci')
0 files changed, 0 insertions, 0 deletions