Josh Susser

New on edge: Magic join model creation


~12 years ago by Josh Susser on has_many :through.
Mark the date: August 18, 2006 is the day that has_many :through finally beat has_and_belongs_to_many into submission. Yesterday, Rails core member Jeremy...

How dynamic finders work


~12 years ago by Josh Susser on has_many :through.
I got into a discussion on IRC last week talking about how ActiveRecord's magic find_by_whatever methods work. It's an interesting topic (at least to geeks...

Site upgrade


~12 years ago by Josh Susser on has_many :through.
I finally went and upgraded this blog to Typo 4. I'd been putting it off because I thought I could avoid it entirely. I still plan eventually to run this...

UPDATE FEED URL FOR has_many :through


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

Segregated page cache storage


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

count vs length vs size


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

Migration Concordance


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

simple pages


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