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

Auto-save of referenced records #24

Open
thhermansen opened this issue Apr 26, 2011 · 0 comments
Open

Auto-save of referenced records #24

thhermansen opened this issue Apr 26, 2011 · 0 comments

Comments

@thhermansen
Copy link
Contributor

In some situations when no records are persisted and references are being created and records are saved some records are not saved when you expect them to. For instance when a new record A references many Bs and you save your A, the Bs will not be automatically saved as it is now (if A was persisted then Bs will be persisted on assignment to A though.)

This might be implemented in a auto-save-module which uses callbacks or something and checks the relations and iterates over the records and saves them. We also might want to auto-check if all referenced records are valid before saving the parent.

@ghost ghost assigned thhermansen Apr 26, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant