Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

rails

Rails CLI — Ruby on Rails command-line tool.

referencedescription
rails-newrails new flags, database, template, assets
generatorsrails generate, model, controller, scaffold, migration
cli-commandsserver, console, dbconsole, runner, routes, notes
databasedb:*, multi-db, system:change, database tasks
testingtest paths, subcommands, test framework integration
configurationconfig.load_defaults, boot sequence, environment
environmentRAILS_ENV, DATABASE_URL, RAILS_MASTER_KEY