aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
authorMarcel Morgan <marcel.morgan@codedry.com>2015-02-20 12:47:55 -0500
committerMarcel Morgan <marcel.morgan@codedry.com>2015-02-20 12:47:55 -0500
commit30afeb7eb533fe1250762b4b86b9acdfbab05ec4 (patch)
tree69391fc4b3cce162282573a3adf6f332d63eaba8 /guides/source
parent85388885d7fc11e2cb2d33e46ac606e4f12ea853 (diff)
downloadrails-30afeb7eb533fe1250762b4b86b9acdfbab05ec4.tar.gz
rails-30afeb7eb533fe1250762b4b86b9acdfbab05ec4.tar.bz2
rails-30afeb7eb533fe1250762b4b86b9acdfbab05ec4.zip
Use sentence case for consistency in comments
[ci skip]
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_job_basics.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md
index 4d1625b28d..953c29719d 100644
--- a/guides/source/active_job_basics.md
+++ b/guides/source/active_job_basics.md
@@ -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