Skip to content

Commit

Permalink
forgot to use the right contant names
Browse files Browse the repository at this point in the history
  • Loading branch information
sd committed Dec 26, 2011
1 parent a999a46 commit 7d986f9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/delayed/manager.rb
Expand Up @@ -13,7 +13,7 @@ def init_manager
options = {}
handler, options = handler if handler.is_a?(Array)
require File.dirname(__FILE__) + "/manager/#{handler}"
const_get(handler.to_s.capitalize).new(options)
const_get(handler.to_s.camelize).new(options)
end

def method_missing(m, *args)
Expand Down
2 changes: 1 addition & 1 deletion lib/delayed/manager/heroku_cedar.rb
Expand Up @@ -2,7 +2,7 @@

module Delayed
module Manager
class Heroku
class HerokuCedar
def initialize(options={})
username = options[:username] || ENV['HEROKU_USERNAME']
password = options[:password] || ENV['HEROKU_PASSWORD']
Expand Down

0 comments on commit 7d986f9

Please sign in to comment.