← Graph

Cells

tool 3 connections

Ruby gem (Nick Sutterer's first) introduced around 2008 to encapsulate view fragments like sidebars into isolated classes rendered via a `render cell` helper. A cell is a class you pass dependencies into and which returns an HTML string; the outside doesn't know what's inside and vice versa, allowing rendering to be tested in isolation without a full HTTP stack. DHH emailed Sutterer calling it a cool idea at the time.

year
2008
category
library
Discussed as Sutterer's first gem that proved the value of encapsulated view components.
about
Cells tool
Cells was the first concrete instance of this principle.
person Nick Sutterer
works_on
Cells tool
Author of the Cells gem.
role: author

Provenance

Read by
27 extractions