Permalink
Browse files

set_table_name has been deprecated in favor of self.table_name= as of…

… Rails 3.2
  • Loading branch information...
1 parent 719b628 commit cdbe7a3389c5c7c8473b25370a7b2c9606add82a James Rose committed Apr 13, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/delayed/job.rb
View
@@ -8,7 +8,7 @@ class DeserializationError < StandardError
class Job < ActiveRecord::Base
MAX_ATTEMPTS = 25
MAX_RUN_TIME = 4.hours
- set_table_name :delayed_jobs
+ self.table_name = :delayed_jobs
# By default failed jobs are destroyed after too many attempts.
# If you want to keep them around (perhaps to inspect the reason

0 comments on commit cdbe7a3

Please sign in to comment.