mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Use sentence case for consistency in comments
[ci skip]
This commit is contained in:
parent
85388885d7
commit
30afeb7eb5
1 changed files with 5 additions and 5 deletions
|
@ -205,7 +205,7 @@ class ProcessVideoJob < ActiveJob::Base
|
|||
end
|
||||
|
||||
def perform(video)
|
||||
# do process video
|
||||
# Do process video
|
||||
end
|
||||
end
|
||||
|
||||
|
@ -238,13 +238,13 @@ class GuestsCleanupJob < ActiveJob::Base
|
|||
queue_as :default
|
||||
|
||||
before_enqueue do |job|
|
||||
# do something with the job instance
|
||||
# Do something with the job instance
|
||||
end
|
||||
|
||||
around_perform do |job, block|
|
||||
# do something before perform
|
||||
# Do something before perform
|
||||
block.call
|
||||
# do something after perform
|
||||
# Do something after perform
|
||||
end
|
||||
|
||||
def perform
|
||||
|
@ -311,7 +311,7 @@ class GuestsCleanupJob < ActiveJob::Base
|
|||
queue_as :default
|
||||
|
||||
rescue_from(ActiveRecord::RecordNotFound) do |exception|
|
||||
# do something with the exception
|
||||
# Do something with the exception
|
||||
end
|
||||
|
||||
def perform
|
||||
|
|
Loading…
Reference in a new issue