Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Gone away
-
7.0.0
-
None
-
None
-
rails 5.2.2.
Description
This only happens when running a rails console, or when workers I have built running in Sidekiq attempt to modify a resource. When it happens I get
undefined method `changed?' for BSON::ObjectId
which comes fromĀ
activemodel-5.2.2/lib/active_model/attribute_mutation_tracker.rb:49:in `changed?'
if i change the method to the new version implemented in rails 5.2 ActiveModel:Dirty it causes undefined methods when running rails server.
I'm at a complete loss on how to deal with this and there are virtually no similar issues I could find on google.