KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Lets say I have a user model that has many articles. If I call user.articles.new many times I will have many unsaved article objects associated with the user. They are visible when you run user.articles. Calling user.save will save all of this unsaved records. How can I delete unsaved records? I plan on calling user.save but I don't want those unsaved records to be there
Tags (comma-separated)
Save Edits
Cancel