About
Hi! I'm Avdi Grimm, and this is my software development blog. More...
Books and Screencasts
Objects on Rails
A developer notebook on applying classic Object-Oriented principles to Ruby on Rails projects.
-
Subscribe
-
Recent Posts
Archives
Categories
Meta
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 activerecord, datamapper, Martin Fowler, patterns, Ruby on Rails, templates, two step view
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 bdd, coupling, demeter, design, law of demeter, objects, oo, oop, ruby, Ruby on Rails, structural coupling, tdd, testing
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 errors, Exception handling, exceptions, failures, Hoptoad, reporting, Ruby on Rails
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 c++, c++0x, clojure, data structures, datamapper, javascript, links, memoization, parsing, rails, ruby, Ruby on Rails
Leave a comment




