rails/rails — pull request #4093 by arunagw (2011-12-21 10:49:24+00:00)
Title: More tests deep including through habtm

fixes #3183

I have tested in sqlite3, mysql, postgresql. It's all green.