Skip to content

Instantly share code, notes, and snippets.

@ugened47
Created August 2, 2016 19:51
Show Gist options
  • Save ugened47/4ce9c13a82380b0a1616cccf5e4cf1de to your computer and use it in GitHub Desktop.
Save ugened47/4ce9c13a82380b0a1616cccf5e4cf1de to your computer and use it in GitHub Desktop.
Rails commands
# Creating app
rails new name
# Start server
rails server (s) [ -b $IP [-p $PORT] ]
# Scaffold (add model)
rails generate scaffold name attribute:type
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment