I found the mistake. My Content model had this line:
has_many :translations
I had migrated the content model from ActiveRecord to Mongoid. But, all the other tables are still in ActiveRecord. The has_many
was referring to a ActiveRecord model. This caused the issue. I commented the line and now update is working fine.