On Dec 30, 2011, at 7:33 AM, Jeremy Chatfield wrote:

> Hi - I'm using hobo 1.3 on rails 3.0.11 with ruby 1.9.2p290
> 
> I've tried to add "delayed_job". I set it up using "hobo g model delayed_job 
> queue:string ...".

On further review, this is the problem - now you've got a DelayedJob class 
that's almost but not quite the same as Delayed::Job (the one declared by the 
gem). They both use the same table name (delayed_jobs) and this is confusing 
the heck out of the migration generator.

If you really need to modify the Delayed::Job class, you'll need to re-open it 
in app/models/delayed/job.rb as:

class Delayed::Job < ActiveRecord::Base

On the other hand, all of the custom code I needed when running delayed_job 
stuff typically wound up in the 'work object' part rather than the job object 
itself.

--Matt Jones

-- 
You received this message because you are subscribed to the Google Groups "Hobo 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/hobousers?hl=en.

Reply via email to