Hi everyone!
I'm trying to use delayed_job with a database (Teradata) where both "queue" and "handler" are reserved names, and can't be used as column names in a table.
I have the following code for the Delayed Job model -
class Delayed::Job < ActiveRecord::Base
alias_attribute :handler, :dj_handler
alias_attribute :queue, :dj_queue
but it does not seem to matter, as the application throws the error -
unknown attribute: queue
What's the right way to tell delayed_job that it should look at differently-named attributes for queue and handler?
Thanks,
Evgeny