dresende/node-orm — comment on commit fff457927116253f2afdc98cbc6c6a53bccb4a38
File: lib/associations/one.js line 60
By pimvdb:

I'm not sure if it's fully working yet. `collection` refers to the original model name and not the one the model is associated to.

I have a model `Foo` which has a `Bar` as follows: `Foo.hasOne("bar", Bar)`. When I execute `some_foo.getBar()`, a query is done selecting inside `Foo` while it should find `Bar` records, I presume. The example in the readme file is working because both models are `Person`.