prezto_config/modules/rails/README.md
2012-06-14 19:16:17 -04:00

34 lines
985 B
Markdown

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