aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/contributing_to_ruby_on_rails.md
diff options
context:
space:
mode:
authorXavier Noria <fxn@hashref.com>2013-03-28 17:52:23 +0100
committerXavier Noria <fxn@hashref.com>2013-03-28 18:04:57 +0100
commit3eebc143afd7a1d967fbf939e0f20a00a37a0337 (patch)
tree131775c87a40b06656307f9994dce5fd33d1f5bd /guides/source/contributing_to_ruby_on_rails.md
parent27d12bde1f2ef9bac24d24d576f23eee68544ca0 (diff)
downloadrails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.tar.gz
rails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.tar.bz2
rails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.zip
contrib guide: documents how to generate a --dev application
Diffstat (limited to 'guides/source/contributing_to_ruby_on_rails.md')
-rw-r--r--guides/source/contributing_to_ruby_on_rails.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/guides/source/contributing_to_ruby_on_rails.md b/guides/source/contributing_to_ruby_on_rails.md
index cc4e369e7d..e1827ffac0 100644
--- a/guides/source/contributing_to_ruby_on_rails.md
+++ b/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
---------------------