Junk Food and Progress

Posted by Joel Sun, 23 Apr 2006 18:29:00 GMT

Yesterday I didn't go out at all really besides to get some Eddie's. Eventually in the afternoon I did my laundry. David ordered some pizza and we had that for dinner. We were just relaxing, but then Katie got upset at us for watching the Godfather during the spousal abuse scene, which just made everyone kind of awkwardly retreat into their own thing.

So I worked on my project and I did a lot. I worked out a lot of the details of the design that had been bugging me, made some crucial decisions about what to keep and what to ditch, and got some real implementation done.

My project uses lots of bi-directional self-referential multiple associations. What that means is that it has normal trees, but they allow for multiple parents as well. Due to the complexity of some, I have some implemented as a habtm, and others implemented as a has_many :through. I was surprised to find this morning, after having implemented a has_many :through solution which worked greatly, an article about it in one of the Rails blogs I read. We had implemented it exactly the same way, too, even with the "edge_as_association" terminology. Truly a case of simultaneous discovery. And here I thought I was so smart. Oh well, at least I got to add a useful comment.

Posted in ,  | no comments | no trackbacks

Comments

Trackbacks

Use the following link to trackback from your own site:
http://ediblepet.net/articles/trackback/12

Comments are disabled