Ruby is an open-source, object-oriented scripting language developed in the mid-1990s. Rails is an open-source framework written in Ruby. The two together create a powerful union!
If you are new to Ruby on Rails, start by using RailsInstaller to install Ruby, Rails, Git Sqlite, and more...
Create a directory on your computer, launch terminal, cd to the directory, and enter the items below:
rails new myapp
cd myapp
rails generate scaffold User username:string password:string
rake db:create
rake db:migrate
rails server
Open your browser and go to http://localhost:3000/