sequelize/sequelize — pull request #1406 by geekmug (2014-02-19 06:56:40+00:00)
Title: Fix foreignKey naming bugs in belongsTo(), hasMany(), and hasOne()

I am developing a new application and was giving sequelize a try. I ran into inconsistencies in defining associations with regard to the column names in the database. I would've liked to have added test cases for these, but I didn't have the time to setup the test database servers for the test bench to use. (However, I may come back around to doing that in the future!)