Hello Rails

Get familiar with Rails actions and controllers in this lesson

We can’t help it. We just have to write a “Hello, World!” program to try a new system. Let’s start by creating a simple application that sends our cheery greeting to a browser. After we get that working, we’ll embellish it with the current time and links.

As we explore further in the The Architecture of Rails Applications chapter, Rails is a model-view-controller (MVC) framework. Rails accepts incoming requests from a browser, ...