I have a few ongoing miniseries in RubyTapas. In this, the second installment of a miniseries chronicling the creation of a Rubygems plugin and an associated server, I touch on a number of topics including acceptance testing, the shellwords standard library, the TDD rhythm, and the DataMapper ORM.
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 by Rails’ design decisions. When choosing which enterprise design patterns to translate into code, the […]
I’m really enjoying Red Dirt Ruby Conference so far! Love the single-track, short-talks format. Also, I got free jerky from Jerky.com, which is awesome. If you’re coming in because of my DataMapper talk, here are some notes: Slides: http://avdi.org/talks/datamapper-rdrc-2011/ Rate the talk: http://spkr8.com/t/7286 Follow me on Twitter: @avdi The DataMapper home page dm-rails, the DataMapper/Rails 3 integration […]
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 and databases. Loads abranch-specific database YAML file allowing you to migrate in branches withoutaffecting the […]
The programmer has a fixed amount of time and concentration that he can give every day. He must give a bigger piece of the pie to the bad technologies, simply because they require more. In other words, he ends up spending most of his days working with tools and technologies that he hates. Therefore, the good programmer […]