mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
contrib guide: documents how to generate a --dev application
This commit is contained in:
parent
27d12bde1f
commit
3eebc143af
1 changed files with 16 additions and 0 deletions
|
@ -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
|
||||
---------------------
|
||||
|
||||
|
|
Loading…
Reference in a new issue