Maybe it's because of the associations tables have. Perhaps SQL is smart enough to match up the primary key and foreign key of the corresponding tables. I know Rails does that.