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

when setting an aggregate the inverse (aggregated_by) should be updated #53

Open
jcoyne opened this issue Jul 15, 2015 · 0 comments
Open

Comments

@jcoyne
Copy link
Contributor

jcoyne commented Jul 15, 2015

This is the current behavior:

work = GenericWork.create!
file = GenericFile.create
work.members << file

work1.members
#=> [ <#GenericFile#file ...> ]

file.generic_work_ids
#=> []

file.save
file.generic_work_ids
["ff365b80b"]

We want the file1.generic_work_ids to show up before the file is saved again.

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

2 participants