Search code examples
ruby-on-rails-3.2delayed-job

unknown attribute: queue with delayed_job after update of rails 3.2.11


All in the title. After the security warning, I updated my rails 3.2.3 to 3.2.11 Every things ok but I realize that the delayed job doesn't send messages anymore with the error "unknown attribute: queue"

I tried to recreate the update migration : rails generate delayed_job:upgrade But it tell me that already exist.


Solution

  • Run rake db:migrate

    rails generate delayed_job:upgrade generated a migration but your database doesn't get modified until you actually run the migration.

    Hope that helps!