aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/lib/active_record/scoping/named.rb1
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?