1

When I execute update Attributes in my model update_attributes prod_id: 34978273492, it returns Unknown modifier: $pushAll (9).

What is the root cause. TIA

Amar A
  • 65
  • 8

1 Answers1

2

In MongoDB 3.6 the deprecated $pushAll operator was removed, see for more details here. If updating mongoid to the latest version doesn't solve the problem, the only solution is to downgrade your Mongo version to 3.4.X

Alex
  • 21,273
  • 10
  • 61
  • 73