[Fix #113] Add documentation for rails

This commit is contained in:
Sorin Ionescu 2012-06-14 19:16:17 -04:00
parent 6c1cec6f9b
commit 780ab4a496
1 changed files with 34 additions and 0 deletions

34
modules/rails/README.md Normal file
View File

@ -0,0 +1,34 @@
Ruby on Rails
=============
Defines [Ruby on Rails][1] aliases.
Aliases
-------
- `rc` starts the Rails console.
- `rdc` starts the Rails console connected to the database.
- `rdm` migrates the database.
- `rdM` migrates the database and recreates the test database.
- `rdr` rolls the database schema back to the previous version.
- `rg` generates new code.
- `rl` displays the log.
- `rlc` truncates logs to zero bytes.
- `rp` installs a plugin.
- `rr` runs code in the application environment.
- `rs` starts the Rails server.
- `rsd` starts the Rails server with the debugger.
- `rx` destroys newly generated code.
Authors
-------
*The authors of this module should be contacted via the [issue tracker][2].*
- [Robby Russell](https://github.com/robbyrussell)
- [Jake Bell](https://github.com/theunraveler)
- [Sorin Ionescu](https://github.com/sorin-ionescu)
[1]: http://rubyonrails.org
[2]: https://github.com/sorin-ionescu/oh-my-zsh/issues