Unlike Dexy's Midnight Runners, I'm no longer a one-hit-wonder. Contributor, that is. Today I got two more patches accepted to Rails (thanks Rick!). One was just to lay groundwork for my experimental ThroughExtender module that will enable some of the association collection methods (
create) for some subset of
has_many :through associations - more on this in another post, and fairly soon I hope.
The more timely change was a fix to habtm
create that corrects a problem where the join table wasn't being populated for newly created associated objects (#3692). As so often seems to be the case, the fix was fairly easy (almost a one-liner), but getting the test cases to prove things were working right was the harder part. And just to be a good citizen, I created a plugin that will make the exact same fix for habtm
create available to those who don't run off of trunk, to tide you over until the next release version. You can get it from my public svn repository.