A Rails Primer

Before getting into some code, I want to take a couple of pages to provide some context for how Ruby on Rails works. Rails uses the MVC approach, short for Model-View-Controller. This design breaks an application into three parts:

image  Model, the data used by the application

image  View, what the user sees

image  Controller, primarily a functional agent between the other two

Rails has a fourth tool, called helpers, whose role falls between ...

Get Ruby: Visual Quickstart Guide now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.