Test touch option on belongs_to

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 9.0.1
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      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
      

              Assignee:
              Adviti Mishra
              Reporter:
              Neil Shweky (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: