Model: self is not child's parent

ActiveRecord (at least in Rails 1.2.3) doesn't do object caching, so following the relationships down and back up again will give you a new object. However:

     assert p == p.children[0].parent

should still succeed.

Pete Yandell
http://notahat.com/

a.equal?(b) iff a is the same object as b

The eql? method returns true if obj and anObject have the same value