-
Type: Bug
-
Resolution: Gone away
-
Priority: Major - P3
-
None
-
Affects Version/s: 7.0.0
-
Component/s: Persistence
-
Labels:None
-
Environment:rails 5.2.2.
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.