has_many :through

geek by association

step, step, pivot, step


almost 11 years ago by josh on has_many :through.
Wow, RubyConf was awesome. I'm sure by now you've read all the various blog reports on the sessions and the werewolf attacks. Aside from some stupid,...

Self-referential has_many :through associations


almost 11 years ago by josh on has_many :through.
This article updates a previous version for the Rails 2.0 way of things. Since there's not much difference, I decided to fix up the example code to be...

RubyConf and QCon


almost 11 years ago by josh on has_many :through.
RubyConf 2007 is just a few days away. I'll be there in Charlotte, basking in the Ruby love. If you're there, do say hi. I always like meeting my readers...

Book Review: Pro Active Record


almost 11 years ago by josh on has_many :through.
I've been wanting to start doing some book reviews for a while, so here goes. The folks at Apress have been kind enough to send me review copies of a couple...

MicroPlace: invest wisely, end poverty


almost 11 years ago by josh on has_many :through.
And now for something completely different... I'm talking about the launch today of MicroPlace, a new website which was written in Rails. I don't usually...

Simpler than dirt: RESTful Dynamic CSS


~11 years ago by josh on has_many :through.
Way back when, I wrote about how to do Dirt Simple RCSS in Rails. Now that Rails 2.0 is upon us, it's time to get even simpler. With all the restful magic...

Everything old is new again


~11 years ago by josh on has_many :through.
As you've likely seen in your feed reader about 50 times already, Rails is turning 2.0. The Preview Release has just been announced, which means that 2...

it's easy being redgreen


~11 years ago by josh on has_many :through.
I can't get by without redgreen to colorize my test output. You can get it to work with all your Rails test tasks by requiring the redgreen gem in test_helper...

Show flash messages on cached pages


~11 years ago by josh on has_many :through.
If you've ever used Rails page caching, you've probably run into the situation where you wanted to cache a page that had essentially static content, but...

on edge: inferred foreign key name change


over 11 years ago by josh on has_many :through.
Here's a change that has been a long time coming. (Really. The first time I heard DHH mention he wanted to do this was in March of 2006.) I liked it so...