1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/activerecord/lib/active_record/scoping
Godfrey Chan 7e8e91c439 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*
2014-01-29 10:54:51 -08:00
..
default.rb
named.rb scope now raises on "dangerous" name conflicts 2014-01-29 10:54:51 -08:00