Permalink
Browse files

now it should work

  • Loading branch information...
1 parent ddcd77a commit c4fb3ab35f68e60c9838510310b73ec895acc2e0 @derfred committed Nov 10, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/workling/base.rb
View
4 lib/workling/base.rb
@@ -38,8 +38,8 @@ def self.expose(method, options)
# identify the queue for a given method
def self.queue_for(method)
- if self.exposed_methods.has_key?(method.to_s)
- self.exposed_methods[method.to_s]
+ if self.exposed_methods.has_key?(method)
+ self.exposed_methods[method]
else
"#{ self.to_s.tableize }/#{ method }".split("/").join("__") # Don't split with : because it messes up memcache stats
end

0 comments on commit c4fb3ab

Please sign in to comment.