diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-08-18 10:54:04 -0700 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2013-08-18 10:54:04 -0700 |
commit | 131a2f0fdeb618ab2876712c30d6d3377af18f7f (patch) | |
tree | 0cca83e529c3a1bd1cc511e2b34b1ede737d8393 /guides | |
parent | c40111c346b91dcf05a2d1b2b7d46525f045989e (diff) | |
parent | 7c9f9dcc2128d3211129da2c506fd42450d916e0 (diff) | |
download | rails-131a2f0fdeb618ab2876712c30d6d3377af18f7f.tar.gz rails-131a2f0fdeb618ab2876712c30d6d3377af18f7f.tar.bz2 rails-131a2f0fdeb618ab2876712c30d6d3377af18f7f.zip |
Merge pull request #11929 from scaryguy/master
blorgh_engine to blorgh
Diffstat (limited to 'guides')
-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: |