A small gem to demonstrate mountable engines in Rails 3.
- Clone the repository
bundle install
from the root
cd test/dummy
- Copy the Engine migrations with
rake mountie:install:migrations
- Migrate the database with
rake db:migrate
rails server
Note that if you rake db:migrate
from the engine root that the test app database is automatically updated.
http://localhost:3000 is now running the dummy app with the engine mounted at /mountie
.
The path to test resources is at http://localhost:3000/mountie/entries.
Just run rake mountie:run
; the task is listed in rake -T
.