sequelize/sequelize — pull request #658 by mweibel (2013-05-30 16:49:19+00:00)
Title: Fix belongsTo where params

Usually when adding to a `foobar.getBla()` a where param
like `foobar.getBla({where: {x: "y"}})` it should extend
the existing where param (`"id": id`) with the additional
where param.
This didn't work for belongsTo associations until now.