Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Edge rails new syntax for importing engine migration #131

Merged
merged 1 commit into from

3 participants

@lazylester

In Rails 3.2.13 it appears that importing an engine's migrations into the host app is achieved by rake blorgh_engine:install:migrations. Rails guides says the syntax is blorgh:install:migrations.

@lazylester lazylester as of Rails 3.2.13 it appears that importing an engine's migration in…
…to the host app is achieved by rake blorgh_engine:install:migrations
62b9723
@graysonwright graysonwright merged commit 4b8ea37 into rails:master
@carlosantoniodasilva

Please do not send pull requests to docrails, just go ahead and commit straight to the repo. Pull requests are open because @github doesn't allow us to close them. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Apr 1, 2013
  1. @lazylester

    as of Rails 3.2.13 it appears that importing an engine's migration in…

    lazylester authored
    …to the host app is achieved by rake blorgh_engine:install:migrations
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 1 deletion.
  1. +1 −1  guides/source/engines.md
View
2  guides/source/engines.md
@@ -461,7 +461,7 @@ NOTE: Other engines, such as Devise, handle this a little differently by making
The engine contains migrations for the `blorgh_posts` and `blorgh_comments` table which need to be created in the application's database so that the engine's models can query them correctly. To copy these migrations into the application use this command:
```bash
-$ rake blorgh:install:migrations
+$ rake blorgh_engine:install:migrations
```
If you have multiple engines that need migrations copied over, use `railties:install:migrations` instead:
Something went wrong with that request. Please try again.