rails
A server-side MVC framework written in Ruby. tldr-pages
On several platforms
Several platforms
A server-side MVC framework written in Ruby. Some subcommands such as generate have their own usage documentation.
Create a new rails project
rails new "project_name"IdentifyGenerate a scaffold for a model named Post, predefining the attributes title and body
rails generate scaffold Post title:string body:textIdentifyRun migrations
rails db:migrateIdentifyList all routes
rails routesIdentifyStart local server for current project on port 3000
rails serverIdentifyStart local server for current project on a specified port
rails server --port "port"IdentifyOpen console to interact with application from command-line
rails consoleIdentifyDisplay version
rails --versionIdentify