diff options
author | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-24 18:28:05 -0800 |
---|---|---|
committer | Godfrey Chan <godfreykfc@gmail.com> | 2014-01-29 10:54:51 -0800 |
commit | 7e8e91c439c1a877f867cd7ba634f7297ccef04b (patch) | |
tree | 4d800773aa5f59b9293c52b3b46c44d27b3a4d5e /activerecord/test/cases/relation/mutation_test.rb | |
parent | 9ed66648b59b160b43c83c349263e8cb97eaa088 (diff) | |
download | rails-7e8e91c439c1a877f867cd7ba634f7297ccef04b.tar.gz rails-7e8e91c439c1a877f867cd7ba634f7297ccef04b.tar.bz2 rails-7e8e91c439c1a877f867cd7ba634f7297ccef04b.zip |
`scope` now raises on "dangerous" name conflicts
Similar to dangerous attribute methods, a scope name conflict is
dangerous if it conflicts with an existing class method defined within
`ActiveRecord::Base` but not its ancestors.
See also #13389.
*Godfrey Chan*, *Philippe Creux*
Diffstat (limited to 'activerecord/test/cases/relation/mutation_test.rb')
0 files changed, 0 insertions, 0 deletions