aboutsummaryrefslogtreecommitdiffstats
path: root/guides
diff options
context:
space:
mode:
authorZachary Scott <e@zzak.io>2014-05-29 13:33:33 -0700
committerZachary Scott <e@zzak.io>2014-05-29 13:49:29 -0700
commit6daa46621b7145fcf948f48bed01d3cfe9221613 (patch)
tree7b6f19663875baef755101ee392fdc9109e5a396 /guides
parent6a5f0051175de1b38d08e15127c75cadb2cba9e2 (diff)
downloadrails-6daa46621b7145fcf948f48bed01d3cfe9221613.tar.gz
rails-6daa46621b7145fcf948f48bed01d3cfe9221613.tar.bz2
rails-6daa46621b7145fcf948f48bed01d3cfe9221613.zip
Generated engines don't include bin/rake, fixes #15409 [ci skip]
Diffstat (limited to 'guides')
-rw-r--r--guides/source/engines.md10
1 files changed, 5 insertions, 5 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md
index 1321fa3870..e7f024f1fc 100644
--- a/guides/source/engines.md
+++ b/guides/source/engines.md
@@ -471,7 +471,7 @@ called `Blorgh::Comment`. Now run the migration to create our blorgh_comments
table:
```bash
-$ bin/rake db:migrate
+$ rake db:migrate
```
To show the comments on an article, edit `app/views/blorgh/articles/show.html.erb` and
@@ -682,14 +682,14 @@ engine's models can query them correctly. To copy these migrations into the
application use this command:
```bash
-$ bin/rake blorgh:install:migrations
+$ rake blorgh:install:migrations
```
If you have multiple engines that need migrations copied over, use
`railties:install:migrations` instead:
```bash
-$ bin/rake railties:install:migrations
+$ rake railties:install:migrations
```
This command, when run for the first time, will copy over all the migrations
@@ -822,7 +822,7 @@ This migration will need to be run on the application. To do that, it must first
be copied using this command:
```bash
-$ bin/rake blorgh:install:migrations
+$ rake blorgh:install:migrations
```
Notice that only _one_ migration was copied over here. This is because the first
@@ -839,7 +839,7 @@ with the same name already exists. Copied migration
Run the migration using:
```bash
-$ bin/rake db:migrate
+$ rake db:migrate
```
Now with all the pieces in place, an action will take place that will associate