-
Notifications
You must be signed in to change notification settings - Fork 109
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
Modifying a story can easily lead to data loss #62
Comments
Workaround: use |
Issue title updated to reflect severity of problem. |
Good find @sbleon. If you are interested in making a fix for this it would be greatly appreciated. It should be easy to add a failing spec. Then I think the right place for a fix is the Should be able to exclude the |
I think that would work for
I suspect that 1 may be easier to implement since you would not have to On Fri, Feb 5, 2016 at 12:18 PM, Forest [email protected] wrote:
|
The problem with 1 is that there is a very nice I wonder if it is better to force people to be specific about what they want updated.
Or to deprecate Deprecating Thoughts? |
I think that providing I’m not sure if this is possible with Representable. I looked quickly at On Fri, Feb 5, 2016 at 3:36 PM, Forest [email protected] wrote:
|
I agree that providing My first implementation of I don't have a ton of time, but I'll do some more thinking and prototyping on this. If we can come up with a nice pattern it will make it easy to add update functionality to other Resources easier. |
I'll give dirty tracking another try this afternoon. I found a Virtus extension that looks better than my previous attempt. |
I think this is because
follower_ids
is "excluded by default" when retrieving the story. The gem thinks the story has no followers, and when yousave
the story, it sendsfollower_ids: []
. This may also be a problem with other fields that are excluded by default.The text was updated successfully, but these errors were encountered: