This website requires JavaScript.
Explore
Help
Sign in
kotovalexarian-likes-github
/
rails--rails
Watch
1
Star
0
Fork
You've already forked rails--rails
0
mirror of
https://github.com/rails/rails.git
synced
2022-11-09 12:12:34 -05:00
Code
Releases
Activity
9c166d7a37
rails--rails
/
activejob
/
test
/
jobs
/
application_job.rb
5 lines
74 B
Ruby
Raw
Normal View
History
Unescape
Escape
Use frozen-string-literal in ActiveJob
2017-07-09 13:49:52 -04:00
# frozen_string_literal: true
[Active Job] `rubocop -a --only Layout/EmptyLineAfterMagicComment`
2017-07-10 09:40:03 -04:00
use `descendants` to get class that inherited `ActiveJob::Base` `subclasses` get only child classes. Therefore, if create a job common parent class as `ApplicationJob`, inherited class does not get properly.
2016-09-04 20:13:24 -04:00
class
ApplicationJob
<
ActiveJob
::
Base
end
Copy permalink