Hi all,
Way back at the start of December there was a discussion about my plugin parental_control and adding support for inverse associations to active record (http://groups.google.com/group/rubyonrails-core/browse_thread/thread/c23f9b6abbb47416/ if you’re interested). I’ve finally managed to turn that discussion into a patch:
http://rails.lighthouseapp.com/projects/8994/tickets/1619
It does the simplest of simple things (you have to specify inverses manually, unlike parental_control which guesses them) and it doesn’t work for every association type, but I think it’s a good start. I’d love to hear what folk think of it.
Cheers,
Muz