Skip to content

Details

You like Ruby. You know how to write it and refactor it. Controllers and Models are Ruby: fantastic, superb! Views, on the other hand, while Ruby — are also mixed with HTML, JavaScript (or CoffeeScript), and CSS (or SCSS). In this mixed environment it’s easy to drop your high code standards and turn the top of the Rails stack into a nasty, brittle mess just to get things done. How do you recover, or even better, avoid the trap in the first place? How can you get to the point where you treat your views like code you’re confident in?

We'll cover 10 simple rules you can follow immediately to transform the way you write, think, and feel about Rails views. We'll also look at some cutting edge techniques with SCSS, SVG imagery, and more in some recent projects the speaker has been working on.

Related topics

You may also like