hasOne support #380

Closed
tchak opened this Issue Sep 7, 2012 · 4 comments

Projects

None yet

5 participants

@tchak
Member
tchak commented Sep 7, 2012

We need to support one to one relationships

niklas commented Oct 14, 2012

I just stumbled upon this. The README on current master describes under "Associations" that you can setup a OneToOne association by specifying belongsTo on both ends. But d5669dd just assumes that on the other end of a belongsTo is a hasMany. If there isn't, it will fail with "Cannot call method 'indexOf' of undefined".

Owner
wagenet commented Oct 17, 2012

@tchak This is still an issue in master, right?

Contributor

@wagenet Definitely still an issue.

Contributor

We've submitted an implementation with #475.

@igorT igorT closed this Apr 15, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment