When I was learning Ruby, I found that each, map and collect look alike but they aren’t. Let’s see what the different between them is. I will use irb to demonstrate it.
Sinatra is a micro framework for Ruby. Different to Ruby on Rails, Sinatra has simplistic approach to develop web application. In this post, we will get started with Sinatra by learning about how to create routes and access URL parameters.
This tutorial will detail steps you need to follow to install Ruby on Rails on Mac. The main preparation that you must have is your terminal. If you already open your terminal, let’s move on.