-
Type:
Improvement
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: None
-
Fully Compatible
We document here that the touch option can take a symbol which represents the field to touch. This is never found or tested in Mongoid:
class Band
include Mongoid::Document
belongs_to :label, touch: :bands_updated_at
end
- is related to
-
MONGOID-5014 Support specifying field to be updated via :touch attribute on embedded_in association
-
- Backlog
-
- related to
-
MONGOID-5016 Change the default of :touch option to true on embedded associations
-
- Closed
-