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 books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.