Hello Rails
Explore how to create a basic Rails application that displays a Hello World message. Understand the MVC structure by generating a controller with action methods and linking views, routes, and debugging within Rails.
We'll cover the following...
We'll cover the following...
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, decodes the request to find a controller, and calls an action method in that ...