dresende/node-orm2 — pull request #275 by Tape (2013-08-02 17:39:25+00:00)
Title: Add capability for an array to be passed to the reversed hasOne set accessor

Obviously hasOne is a one to many relationship. When fetching the reversed model of the hasOne association we get an array, however trying to set an array results in an error.

This should help alleviate the problem and act as sugar so users don't have to make their own looping construct to save these associations.