prezto/modules/rails
Indrajit Raychaudhuri 8ee9d1bbfe general: Documentation update for zstyle based alias skipping support
Add documentation to surface the `zstyle` based alias skipping.
2023-05-17 02:39:09 -05:00
..
README.md general: Documentation update for zstyle based alias skipping support 2023-05-17 02:39:09 -05:00
init.zsh Add zstyle to skip aliases for additional modules 2023-04-13 09:33:48 -07:00

README.md

Ruby on Rails

Defines Ruby on Rails aliases.

Aliases

Aliases are enabled by default. To disable them, add the following to ${ZDOTDIR:-$HOME}/.zpreztorc.

zstyle ':prezto:module:rails:alias' skip 'yes'
  • 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.