ActiveRecord::Observer is a cute little class that lets you bundle groups of
after_create and before_update calls together. Don't call us we'll call you.
How can it observe a has_and_belongs_to_many relationship? Mechanically, we need
to observe changes in the secret models_models table between the two Models.
--
Phlip
> +1... the hardest part is coming up with the name of the model, but from
> there it's much nicer. :)
Been there done that. But are we admitting a gap in ActiveRecord's contract?
Confer the habtm directive already supports :after_add => :my_method. We
discovered this gap by attempting to move :my_method into the common observer...
--
Phlip