diff options
author | Arthur Neves <arthurnn@gmail.com> | 2014-04-03 10:39:05 -0400 |
---|---|---|
committer | Arthur Neves <arthurnn@gmail.com> | 2014-04-03 16:40:01 -0400 |
commit | 815c9deae8de557688e1c99aabe30454bcbe5970 (patch) | |
tree | df11e8eb468b6b22540d7127a698966257848bf2 /activerecord/test/models/category.rb | |
parent | ae110ce5d4de8cb3a22f826b0e824f333d2b2742 (diff) | |
download | rails-815c9deae8de557688e1c99aabe30454bcbe5970.tar.gz rails-815c9deae8de557688e1c99aabe30454bcbe5970.tar.bz2 rails-815c9deae8de557688e1c99aabe30454bcbe5970.zip |
Block a few default Class methods as scope name.
Add tests to make sure scopes cannot be create with names such as:
private, protected, public.
Make sure enum values don't collide with those methods too.
Diffstat (limited to 'activerecord/test/models/category.rb')
0 files changed, 0 insertions, 0 deletions