-
Type: Improvement
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:
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:
Unable to find source-code formatter for language: ruby. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
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