has_many :through

geek by association

Happy Blogday


over 10 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 10 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 10 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 10 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


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

Meet the new blog


almost 11 years ago by josh on has_many :through.
...same as the old blog. But it has the advantage of actually working. For some reason known only to a select cadre of gremlins, my old Typo blog stopped...

Rails 1.2 RC1 and test cases


almost 11 years ago by Josh Susser on has_many :through.
Last night, DHH announced the release of Rails 1.2 RC1. I predict we'll see a minor blogstorm of posts all reiterating that fact and talking about the...