-
Notifications
You must be signed in to change notification settings - Fork 33
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
Must be attached to a session. #142
Comments
Okay, so it seems like "Bindings" are interfering the session's ability to flush. I have some business logic in some of my models. In one case, I tried making a property of a related model easier to access by creating a binding to it. For instance:
Replacing with binding with a computed property seems to be a good workaround for now. |
Ah I could see this happening in some binding cases. I am working on a On Wed, Jul 16, 2014 at 1:02 AM, David Patrick [email protected]
Gordon L. Hempton |
Also, fwiw, I would recommend using computed property aliases rather than bindings (which are eagerly evaluated). In your case it would be |
I just got an error that seems pretty weird to me.
Not really sure what seems to be going on. Basically, I'm trying to set an object to the primary model's "belongsTo" attribute. And then flush the session. I've done some print outs that the model I'm setting has a Session. (Should be the same session as the parent model). But I'm consistently getting this error.
Any ideas?
The text was updated successfully, but these errors were encountered: