Permalink
Browse files

contrib guide: documents how to generate a --dev application

  • Loading branch information...
1 parent 27d12bd commit 3eebc143afd7a1d967fbf939e0f20a00a37a0337 @fxn fxn committed Mar 28, 2013
Showing with 16 additions and 0 deletions.
  1. +16 −0 guides/source/contributing_to_ruby_on_rails.md
@@ -53,6 +53,22 @@ The easiest and recommended way to get a development environment ready to hack i
In case you can't use the Rails development box, see section above, check [this other guide](development_dependencies_install.html).
+
+Running an Application Against Your Local Branch
+------------------------------------------------
+
+The `--dev` flag of `rails new` generates an application that uses your local
+branch:
+
+```bash
+$ cd rails
+$ bundle exec rails new ~/my-test-app --dev
+```
+
+The application generated in `~/my-test-app` runs against your local branch
+and in particular sees any modifications upon server reboot.
+
+
Testing Active Record
---------------------

0 comments on commit 3eebc14

Please sign in to comment.