Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

define failing on merge #67

Closed
rtm opened this issue Mar 16, 2015 · 2 comments
Closed

define failing on merge #67

rtm opened this issue Mar 16, 2015 · 2 comments

Comments

@rtm
Copy link

rtm commented Mar 16, 2015

On this line: https://github.com/danielspaniel/ember-data-factory-guy/blob/master/dist/ember-data-factory-guy.js#L221

it calls merge, but I cannot figure out why merge would be defined here on the model definition, and in fact I am getting an undefined function error on this line.

@danielspaniel
Copy link
Collaborator

Yikes @rtm .. you must be defining the model twice, which is why your getting this error.
My original intent was to merge the two definitions, but I never actually finished the merge funciton, so this is my mistake. Thanks for pointing this out. Can you find the place where you are defining the same model twice and fix that for now?
I will take this line out also and only put it back in when I finish the merge funciton.

@danielspaniel
Copy link
Collaborator

That code is fixed now, and will be pushed out in the next release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants