applying has_many + through fix from here: https://github.com/plentz/lol_dba/issues/25