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

"Cannot update 'companion_ids' and 'companion_ids' at the same time" #935

Open
simonv3 opened this issue May 9, 2017 · 0 comments
Open

Comments

@simonv3
Copy link
Member

simonv3 commented May 9, 2017

A Moped::Errors::OperationFailure occurred in crops#update:

 The operation: #<Moped::Protocol::Command
 @length=75
 @request_id=1198
 @response_to=0
 @op_code=2004
 @flags=[]
 @full_collection_name="app28600065.$cmd"
 @skip=0
 @limit=-1
 @selector={:getlasterror=>1, :w=>1}
 @fields=nil>
failed with error 16837: "Cannot update 'companion_ids' and 'companion_ids' at the same time"

See https://github.com/mongodb/mongo/blob/master/docs/errors.md
for details about this error.
 app/models/crop.rb:120:in `block in backlink_companion_crops'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant