diff options
author | Jon Leighton <j@jonathanleighton.com> | 2012-03-21 20:25:51 +0000 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2012-03-21 20:25:51 +0000 |
commit | 884e5b755888591c9d45e8105267e6ce1f4ffc79 (patch) | |
tree | 98c985e277b347c0a7e1bed4e9a07442584c5f66 /activerecord | |
parent | 7c1275a005f8ed1820a93069c90d515b2f7a8e1a (diff) | |
download | rails-884e5b755888591c9d45e8105267e6ce1f4ffc79.tar.gz rails-884e5b755888591c9d45e8105267e6ce1f4ffc79.tar.bz2 rails-884e5b755888591c9d45e8105267e6ce1f4ffc79.zip |
no need for cast
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/lib/active_record/scoping/named.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/lib/active_record/scoping/named.rb b/activerecord/lib/active_record/scoping/named.rb index 22f18afe6f..c7c3ee2b06 100644 --- a/activerecord/lib/active_record/scoping/named.rb +++ b/activerecord/lib/active_record/scoping/named.rb @@ -172,7 +172,6 @@ module ActiveRecord # Article.featured.titles def scope(name, scope_options = {}) - name = name.to_sym valid_scope_name?(name) extension = Module.new(&Proc.new) if block_given? |