Remove case statement as it is redundant in the else

Brandon Hansen 10 years ago
parent
commit
4d7b89482c
1 changed files with 0 additions and 2 deletions
  1. 0 2
      app/models/agent.rb

+ 0 - 2
app/models/agent.rb

@@ -60,8 +60,6 @@ class Agent < ActiveRecord::Base
60 60
 
61 61
   scope :of_type, lambda { |type|
62 62
     type = case type
63
-             when String, Symbol, Class
64
-               type.to_s
65 63
              when Agent
66 64
                type.class.to_s
67 65
              else