set_table_name has been deprecated in favor of self.table_name= as of Rails 3.2 #58

Open
wants to merge 1 commit into
from
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Split
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