diff options
author | Xavier Noria <fxn@hashref.com> | 2013-03-28 17:52:23 +0100 |
---|---|---|
committer | Xavier Noria <fxn@hashref.com> | 2013-03-28 18:04:57 +0100 |
commit | 3eebc143afd7a1d967fbf939e0f20a00a37a0337 (patch) | |
tree | 131775c87a40b06656307f9994dce5fd33d1f5bd /guides/source | |
parent | 27d12bde1f2ef9bac24d24d576f23eee68544ca0 (diff) | |
download | rails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.tar.gz rails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.tar.bz2 rails-3eebc143afd7a1d967fbf939e0f20a00a37a0337.zip |
contrib guide: documents how to generate a --dev application
Diffstat (limited to 'guides/source')
-rw-r--r-- | guides/source/contributing_to_ruby_on_rails.md | 16 |
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 --------------------- |