diff options
author | scaryguy <soner2@gmail.com> | 2013-08-18 20:28:02 +0300 |
---|---|---|
committer | Soner CAN <soner2@gmail.com> | 2013-08-18 20:50:23 +0300 |
commit | 7c9f9dcc2128d3211129da2c506fd42450d916e0 (patch) | |
tree | 0cca83e529c3a1bd1cc511e2b34b1ede737d8393 | |
parent | c40111c346b91dcf05a2d1b2b7d46525f045989e (diff) | |
download | rails-7c9f9dcc2128d3211129da2c506fd42450d916e0.tar.gz rails-7c9f9dcc2128d3211129da2c506fd42450d916e0.tar.bz2 rails-7c9f9dcc2128d3211129da2c506fd42450d916e0.zip |
blorgh_engine to blorgh [ci-skip]
-rw-r--r-- | guides/source/engines.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/guides/source/engines.md b/guides/source/engines.md index 9106b6382d..60b95fa668 100644 --- a/guides/source/engines.md +++ b/guides/source/engines.md @@ -104,7 +104,7 @@ At the root of this brand new engine's directory lives a `blorgh.gemspec` file. gem 'blorgh', path: "vendor/engines/blorgh" ``` -By specifying it as a gem within the `Gemfile`, Bundler will load it as such, parsing this `blorgh.gemspec` file and requiring a file within the `lib` directory called `lib/blorgh.rb`. This file requires the `blorgh/engine.rb` file (located at `lib/blorgh/engine.rb`) and defines a base module called `Blorgh`. +Don't foget to ` bundle install` as usual. By specifying it as a gem within the `Gemfile`, Bundler will load it as such, parsing this `blorgh.gemspec` file and requiring a file within the `lib` directory called `lib/blorgh.rb`. This file requires the `blorgh/engine.rb` file (located at `lib/blorgh/engine.rb`) and defines a base module called `Blorgh`. ```ruby require "blorgh/engine" @@ -466,7 +466,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_engine:install:migrations +$ rake blorgh:install:migrations ``` If you have multiple engines that need migrations copied over, use `railties:install:migrations` instead: |