Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

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

6 participants

@acanyon

+1 pleeeeeseee!

@glaszig

this hasn't been merged yet? rails 4.0 won't have set_table_name afaik.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 13, 2012
  1. set_table_name has been deprecated in favor of self.table_name= as of…

    James Rose authored
    … Rails 3.2
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/delayed/job.rb
View
2  lib/delayed/job.rb
@@ -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
Something went wrong with that request. Please try again.