diff options
author | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-02-22 21:52:58 +0100 |
---|---|---|
committer | Jeroen van Baarsen <jeroenvanbaarsen@gmail.com> | 2015-03-23 22:37:11 +0100 |
commit | 929a794a317666e4d29954e4f071c1dd57482aa7 (patch) | |
tree | 44804aa0548b42c7942b5613826cd4a1c05d7444 /railties/lib | |
parent | b6c038b600487b1adcf8f5e69ba70a992b07e195 (diff) | |
download | rails-929a794a317666e4d29954e4f071c1dd57482aa7.tar.gz rails-929a794a317666e4d29954e4f071c1dd57482aa7.tar.bz2 rails-929a794a317666e4d29954e4f071c1dd57482aa7.zip |
Add explicit base class for ActiveJob jobs
* Jobs generated now inherent from ApplicationJob
* ApplicationJob inherents from ActiveJob::Base
* Added entry to changelog
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb b/railties/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb new file mode 100644 index 0000000000..bddb5bcd0d --- /dev/null +++ b/railties/lib/rails/generators/rails/app/templates/app/jobs/application_job.rb @@ -0,0 +1,3 @@ +class ApplicationJob < ActiveJob::Base + +end |