-
Notifications
You must be signed in to change notification settings - Fork 330
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
Cannot call method '_onModelEvent' of undefined #103
Comments
I think this is related to #91 since I'm also using coffeescript. When was the change to reverseRelation done? I've tried one of the workarounds discussed in #91. To initialize a blank placeholder model, however I get this error when I do that:
|
Ok, seems like this is not an issue with Coffeescript class syntax, tried to use |
Ok so in this line So it seems to me that the model is never stored in |
Oh, and it's the same when I'm trying to destroy a model:
|
Try walking through |
Are you getting anywhere with this? It's a bit hard to debug for us by just getting a description of the symptoms.. You could try isolating your issue into a jsfiddle? Maybe you'll find your problem as well by cutting your code down for that. |
The error was on my part, I used Thanks for an awesome project, keep it up! |
So I get this error when I'm taking a preexisting model and saving it to a collection:
The model is originally created from the collection:
The collection that I'm adding to has this in it's model:
The model that I'm adding has this (recursively embeds itself)
It seems like I get the error when the ajax POST is returned from the server.. Any Ideas why?
Thanks.
The text was updated successfully, but these errors were encountered: