sequelize/sequelize — pull request #2356 by vpontis (2014-09-25 18:44:37+00:00)
Title: fix hasOne when foreignKey#field defined

get include query accessing the foreign key field in th abstract query generator on include queries
unit test added that breaks without the fix