Ruby on Rails

Ruby on Rails is a server-side web application framework written in Ruby, first released by David Heinemeier Hansson in 2004 after he extracted it from the codebase of the project management tool Basecamp. The framework’s own repository describes it as “a web application framework that includes everything needed to create database-backed web applications according to the Model-View-Controller (MVC) pattern.” That bundling of everything needed, in one opinionated package, was the heart of its appeal.

Rails is built on two ideas that the project elevated into doctrine: convention over configuration, and don’t repeat yourself. The Rails Doctrine page frames the mission as swinging “its machete at the thick, and ever growing, jungle of recurring decisions that face developers creating information systems for the web.” Rather than asking developers to wire up every connection between a class, a table, and a URL with explicit configuration, Rails assumes sensible defaults from names alone, so a Post model maps to a posts table without anyone declaring it.

The Active Record layer was central to that experience. A Rails model class wraps a database row, encapsulates the SQL needed to read and write it, and carries the application’s domain logic, so a developer manipulates persistent data through ordinary Ruby objects rather than hand-written queries. Combined with scaffolding, which generates a working set of pages for creating, reading, updating, and deleting records, this let beginners stand up functional database-backed applications in minutes.

Rails became famous in part through a screencast in which DHH built a working blog application in roughly fifteen minutes, an unheard-of pace at the time that turned the framework into a viral demonstration of productivity. The release also helped popularize patterns that spread far beyond Ruby: RESTful routing, database migrations as versioned code, and the convention-driven style of structuring an application.

Its influence on the broader web is hard to overstate. Frameworks in other languages openly borrowed Rails’ conventions and ergonomics, and the framework powered major products including GitHub, Shopify, and Basecamp itself. Rails demonstrated that an opinionated framework, by making thousands of small decisions for the developer, could make web development dramatically faster without sacrificing maintainability.

Sources

Last verified June 8, 2026