1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-23 00:17:59 +00:00
prezto/modules/rails/README.md
Indrajit Raychaudhuri 1ff9421f7b general: Update documentation better qualifying runcom paths
Zsh and Prezto files don't always reside in `~/`. Instead, they have
a more spec compliant location (`${ZDOTDIR:-$HOME}/`). Make them
unambiguous in the documentation. Likewise, for `$GNUPGHOME`.

Further, add instruction for optionally setting up Prezto in
`$XDG_CONFIG_HOME`.

While at this, also add clarification on relative ordering of some of
the modules, apply more formatting tweaks and doc improvements.
2021-05-21 12:31:02 -05:00

982 B

Ruby on Rails

Defines Ruby on Rails aliases.

Aliases

  • ror is short for rails.
  • rorc starts the Rails console.
  • rordc starts the Rails console connected to the database.
  • rordm migrates the database.
  • rordM migrates the database and recreates the test database.
  • rordr rolls the database schema back to the previous version.
  • rorg generates new code.
  • rorl displays the log.
  • rorlc truncates logs to zero bytes.
  • rorp installs a plugin.
  • rorr runs code in the application environment.
  • rors starts the Rails server.
  • rorsd starts the Rails server with the debugger.
  • rorx destroys newly generated code.

Authors

The authors of this module should be contacted via the issue tracker.