I can understand habtm is moving towards deprecating support for extra
attributes in join_table, and to use :through for those cases instead.
To clarify, patch for #5216 wasn't looking to support populating extra
attributes in join table. But rather, it was meant to make habtm resilient
against existence of extra attributes messing up with the expected, normal
operations of habtm - after ur classes are setup with habtm, they'll
continue to run nicely even if schema has to change on join_table.
Sadly, HABTM has to support those 'rich attributes'. Pulling in
those values is a 'feature' not a bug. The consequence of this is
that HABTM cannot support join tables with a column called id.
--
Cheers
Koz
_______________________________________________
Rails-core mailing list
[email protected]
http://lists.rubyonrails.org/mailman/listinfo/rails-core