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
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