Details
-
Improvement
-
Resolution: Unresolved
-
Major - P3
-
None
-
None
-
None
Description
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
|
Attachments
Issue Links
- 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
-