Ian Bicking: the old part of his blog

Re: Magic and Backtracing Code

Just tripped over this. Ian, I don't think you want to move way from what Active Record. It sounds like you want to embrace it:

class Person < ActiveRecord::Base
  has_many :addresses

p = Person.find(1)
p.addresses.create(:street => "123 W 12th")

It's not too late, Ian. You're still much welcome in the Ruby camp. Ryan Tomayko is already finding himself more than comfortably accustomed :)

Comment on Magic and Backtracing Code
by David Heinemeier Hansson


Ohhhhhh. This is just what I need right now. Thanks. :)

# Ryan Tomayko