diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-03-21 20:30:48 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-03-21 20:30:48 +0000 |
commit | f6db31ec16e42ee7713029f7120f0b011d1ddc6c (patch) | |
tree | 774788986a44ea5793d5029b53b15cc60bb102f4 /activemodel | |
parent | 884e5b755888591c9d45e8105267e6ce1f4ffc79 (diff) | |
download | rails-f6db31ec16e42ee7713029f7120f0b011d1ddc6c.tar.gz rails-f6db31ec16e42ee7713029f7120f0b011d1ddc6c.tar.bz2 rails-f6db31ec16e42ee7713029f7120f0b011d1ddc6c.zip |
Remove valid_scope_name? check - use ruby
scope is syntactic sugar for defining a class method. Ruby allows
redefining methods but emits a warning when run with -w. So let's
not implement our own logic for this. Users should run with -w if they
want to be warned about redefined methods.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions