Permalink
Browse files

no need for cast

  • Loading branch information...
1 parent 7c1275a commit 884e5b755888591c9d45e8105267e6ce1f4ffc79 @jonleighton jonleighton committed Mar 21, 2012
Showing with 0 additions and 1 deletion.
  1. +0 −1 activerecord/lib/active_record/scoping/named.rb
@@ -172,7 +172,6 @@ def scope_attributes? # :nodoc:
# Article.featured.titles
def scope(name, scope_options = {})
- name = name.to_sym
valid_scope_name?(name)
extension = Module.new(&Proc.new) if block_given?

0 comments on commit 884e5b7

Please sign in to comment.