Skip to content

Commit

Permalink
require active_record in the backend
Browse files Browse the repository at this point in the history
  • Loading branch information
bkeepers committed Jan 19, 2010
1 parent 766dd89 commit 07b427e
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 1 addition & 0 deletions lib/delayed/backend/active_record.rb
@@ -1,3 +1,4 @@
require 'active_record'

class ActiveRecord::Base
def self.load_for_delayed_job(id)
Expand Down
2 changes: 0 additions & 2 deletions lib/delayed_job.rb
@@ -1,5 +1,3 @@
autoload :ActiveRecord, 'activerecord'

require File.dirname(__FILE__) + '/delayed/message_sending'
require File.dirname(__FILE__) + '/delayed/performable_method'
require File.dirname(__FILE__) + '/delayed/backend/base'
Expand Down

0 comments on commit 07b427e

Please sign in to comment.