Open an interactive Ruby terminal (type 'exit' to quit)
Run a ruby program named FILENAME.rb
Installs a gem called GEMNAME
gem install GEMNAME
Installs gems listed in the
Create a new rails project called
rails new NAME
Auto-generate routes (this can also be done manually)
rails generate scaffold
Create a new [Rails model]
rails generate model MODELNAME
Update the database to match what you have described in your code
Run the application locally (Ctrl-C to quit)
Start an interactive Ruby session that knows about your Rails models (type 'exit' to quit)
Print the routes for your application
Go to the root page of your rails application
Creates a new git repository in your current directory.
Add the current directory, and all sub directories, to your git repository.
git add .
Tells you what you've added, deleted, and changed between your current directory and you local git repository.
Prints the difference between FILENAME and what is in your local git repository.
git diff FILENAME
Commit the files you've added to the local repository.
git commit -m "Describe what has changed, and why" .
Push committed changes to the remote server.