aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/base_test.rb
diff options
context:
space:
mode:
authorArthur Neves <arthurnn@gmail.com>2014-04-03 10:39:05 -0400
committerArthur Neves <arthurnn@gmail.com>2014-04-03 16:40:01 -0400
commit815c9deae8de557688e1c99aabe30454bcbe5970 (patch)
treedf11e8eb468b6b22540d7127a698966257848bf2 /activerecord/test/cases/base_test.rb
parentae110ce5d4de8cb3a22f826b0e824f333d2b2742 (diff)
downloadrails-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/cases/base_test.rb')
0 files changed, 0 insertions, 0 deletions