has_many :through

geek by association

Using your connections


over 11 years ago by josh on has_many :through.
ActiveRecord does a great job of insulating you from a lot of the hard stuff about using SQL, and it packs the results of queries up nicely as model objects...

Pragmatic Rails Studio in Sunnyvale


over 11 years ago by josh on has_many :through.
At long last, Dave Thomas and Mike Clark are bringing the Pragmatic Rails Studio to the San Francisco Bay Area. The studio will be in Sunnyvale June 18-20...

Happy Blogday


over 11 years ago by josh on has_many :through.
I just noticed my blog is a year old today. Happy birthday, has_many :through! In the past year I've posted 76 articles and received 566 comments (115...

Powerset de-cloaking (and hiring too)


over 11 years ago by josh on has_many :through.
Today is a big news day for my company, Powerset. We have started to disclose information about our formerly super-sekrit technology, and today there are...

Blog status


over 11 years ago by josh on has_many :through.
It's been about a month since I moved this blog from Typo to Mephisto. It took me a bit of tweaking, but it seems to be running pretty well now and I'm...

RFP: Silicon Valley Ruby Conf 2007


over 11 years ago by josh on has_many :through. [Linked from: Ruby Inside]
Last year I attended the first Silicon Valley Ruby Conference. As someone new to Ruby and its community, I found the conference full of useful information...

Using faux accessors to initialize values


over 11 years ago by josh on has_many :through.
One of the little annoyances of ActiveRecord is not being able to override the #initialize method in your class. There's the #after_initialize callback...

Basic Rails association cardinality


almost 12 years ago by josh on has_many :through.
Over the weekend I noticed that the Rails API docs didn't have any basic information on relation cardinality and how that maps to associations. It wasn...

Don't make a new one on my account


almost 12 years ago by josh on has_many :through.
Here's a fairly obscure but useful trick to optimize session usage in Rails. I can pretty safely bet that you haven't used it yet because it was broken...

Stop using the rails command


almost 12 years ago by josh on has_many :through.
Here's a tip that may make your life a little simpler when you need to start a new Rails project. Don't use the rails shell command. We have a few people...