Tag Archives: Ruby on Rails

Fowler on Rails

Projects using Ruby on Rails often lack strong distinctions in two main areas: The model/record conflation: Seeing “models” as strictly DB-backed resources. The view/template conflation: failing to draw a line between view objects and HTML templates. The conflations are encouraged … Continue reading

Posted in Ruby | Tagged , , , , , , | 18 Comments

Demeter: It’s not just a good idea. It’s the law.

Is #try really so bad? In response to my recent post about #try being a code smell, a lot of people made the reasonable objection that the example I used—of using #try on a a Hash—was a pathological case. A … Continue reading

Posted in Ruby | Tagged , , , , , , , , , , , , | 72 Comments

Get Two Free Months of Hoptoad with Exceptional Ruby

If you’re reading this blog there’s a good chance you already know about Hoptoad. For those who don’t know, Hoptoad is a hosted service that does application error logging. You configure your Ruby on Rails, iOS (or other kinds of … Continue reading

Posted in Books | Tagged , , , , , , | 1 Comment

Linkdump #6

agile/db_branch – GitHub I’d been looking for a way to manage databases for multiple branches of an app, and this is one of the (many) suggestions. tags: development database ruby rails git Rails plugin to play nice with git branching … Continue reading

Posted in Links | Tagged , , , , , , , , , , , | Leave a comment