aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source
diff options
context:
space:
mode:
Diffstat (limited to 'guides/source')
-rw-r--r--guides/source/active_job_basics.md4
-rw-r--r--guides/source/getting_started.md3
-rw-r--r--guides/source/testing.md2
3 files changed, 6 insertions, 3 deletions
diff --git a/guides/source/active_job_basics.md b/guides/source/active_job_basics.md
index 63b4409c6c..3046a62778 100644
--- a/guides/source/active_job_basics.md
+++ b/guides/source/active_job_basics.md
@@ -217,8 +217,8 @@ backends you need to specify the queues to listen to.
Callbacks
---------
-Active Job provides hooks during the lifecycle of a job. Callbacks allow you to
-trigger logic during the lifecycle of a job.
+Active Job provides hooks during the life cycle of a job. Callbacks allow you to
+trigger logic during the life cycle of a job.
### Available callbacks
diff --git a/guides/source/getting_started.md b/guides/source/getting_started.md
index ff6e0db480..bb80063f2b 100644
--- a/guides/source/getting_started.md
+++ b/guides/source/getting_started.md
@@ -1544,6 +1544,7 @@ class CreateComments < ActiveRecord::Migration
t.timestamps null: false
end
+ add_foreign_key :comments, :articles
end
end
```
@@ -1563,6 +1564,8 @@ run against the current database, so in this case you will just see:
== CreateComments: migrating =================================================
-- create_table(:comments)
-> 0.0115s
+-- add_foreign_key(:comments, :articles)
+ -> 0.0000s
== CreateComments: migrated (0.0119s) ========================================
```
diff --git a/guides/source/testing.md b/guides/source/testing.md
index 2d66840306..21b0b37efa 100644
--- a/guides/source/testing.md
+++ b/guides/source/testing.md
@@ -789,7 +789,7 @@ end
I've added this file here `test/controllers/articles_routes_test.rb` and if we run the test we should see:
```bash
-$ be rake test test/controllers/articles_routes_test.rb
+$ bin/rake test test/controllers/articles_routes_test.rb
# Running: