1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
prezto/modules/rails
Filip Sotirov d06f8f3561
Add alias for db reset
9 years ago
..
README.md Add alias for db reset 9 years ago
init.zsh Add alias for db reset 9 years ago

README.md

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.
  • rordR resets the database schema (does db:drop db:setup).
  • 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.