Chapter 12 Haml

HAML gave us a great take on how views can also be done. It looks a little cryptic at first, but don’t let that shake you off. Once you internalize the meaning of %, #, and . it should be all good (and you already know most just from CSS). [ . . . ] Additionally, I can’t help but have respect for a Canadian who manages to swear more than I did during my vendoritis rant and drink beer at the same time. A perfect example of the diversity in the Rails community. Very much part of what makes us special.1

—David (talking about Haml and Hampton Catlin in September 2006)

Haml (http://haml.info) is a “whitespace-sensitive” HTML templating engine that uses indentation to determine ...

Get The Rails 5 Way, Fourth Edition 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.