has_many :through

geek by association

simple pages


over 9 years ago by Josh Susser on has_many :through.
Simple things should be simple, complex things should be possible. — Alan Kay Here's a tiny little tip for handling those boiler-plate pages that...

Migration Concordance


over 9 years ago by Josh Susser on has_many :through.
If you are a solo developer, Rails' migrations are the neatest thing since sliced bread. If you work on a team, you know that often it can be a real pain...

count vs length vs size


over 9 years ago by Josh Susser on has_many :through.
In Ruby, #length and #size are synonyms and both do the same thing: they tell you how many elements are in an array or hash. Technically #length is the...

Segregated page cache storage


over 9 years ago by Josh Susser on has_many :through.
Page-caching is one of the highest leverage features in Rails. It doesn't take much to set up, and the payoff is huge. When building Teldra I knew from...

UPDATE FEED URL FOR has_many :through


over 9 years ago by Josh Susser on has_many :through.
The has_many :through feed has moved. Please update your feed reader to use the feed URL http://feeds.feedburner.com/hasmanythrough...

Speaking at RailsConf 2008


over 9 years ago by Josh Susser on has_many :through.
I received word this week that my talk proposal for RailsConf 2008 has been accepted. I'll be giving a talk called The Great Test Framework Dance-off....

One Hundred, Two Hosts, Three Engines


over 9 years ago by Josh Susser on has_many :through.
I started this blog nearly two years ago. In its first incarnation, it was running on the venerable Typo engine, hosted on DreamHost. About a year ago...

Book Review: The Rails Way


over 9 years ago by josh on has_many :through. [Linked from: Clean Air - A Blog By Highgroove Studios]
Here's another entry in my ongoing Rails book review series. Title: The Rails Way Author: Obie Fernandez Publisher: Addison-Wesley The latest entry in...

step, step, pivot, step


almost 10 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 10 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...