-
Type: Bug
-
Resolution: Duplicate
-
Priority: Major - P3
-
None
-
Affects Version/s: 7.1.0
-
Component/s: Attributes
-
None
-
Environment:Ruby on Rails
In place modifier function calls such as .gsub! on attributes do not update on save.
> foo = Foo.first > foo.bar "My random value" > foo.bar.gsub!(/random/, '') "My value" > foo.changed? false > foo.save # does not changes value of bar to "My value" > foo.bar "My value" > foo = Foo.first > foo.bar "My value"
- duplicates
-
MONGOID-2951 Attributes of container types are not persisted when mutated
- Backlog