nette/nette — pull request #770 by hrach (2012-09-07 13:52:35+00:00)
Title: Db discovered reflection

Fixes http://forum.nette.org/cs/12047-related-skonci-chybou-ambiguous-joining-column-in-related-call

This bug was not covered by test, since it was caused by another name convention: table name in plural did't match the joining column.