rails / activejob

Declare job classes that can be run by a variety of queueing backends
743 stars 47 forks source link

[feature] ActiveJob generator #93

Closed seuros closed 10 years ago

seuros commented 10 years ago

Right now i need to type : rails generate activejob:job jobname since this will be part of rails, i think we should be able to do rails generate job jobname

cc @rafaelfranca @dhh @cristianbica

guilleiguaran commented 10 years ago

It's ok right now as rails generate activejob:job jobname because the convention for generators inside of gems is rails generate gem:generator args, we will change this after of merge in Rails.

cristianbica commented 10 years ago

Do we have app/jobs in the autoload_paths ?

seuros commented 10 years ago

No required. Rails load anything under app.

cristianbica commented 10 years ago

Got it. I wasn't sure about that. I usually add any new app folder in autoload. Otherwise SGTM

Cristian Bica

On Sun, Jun 29, 2014 at 9:59 PM, Abdelkader Boudih <notifications@github.com

wrote:

No required. Rails load anything under app.

— Reply to this email directly or view it on GitHub https://github.com/rails/activejob/pull/93#issuecomment-47468000.