Uploaded image for project: 'Mongoid'
  1. Mongoid
  2. MONGOID-3882

checks added for :update_attribute for dynamic attributes refs MONGOID-3875

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      When we call process_attribute, it does all the checks for ensuring that
      dynamic attributes are allowed.

      Note This impacts the :counter_cache option as it requires dynamic fields.
      When using the counter_cache, the model must include
      Mongoid::Attributes::Dynamic

      refs MONGOID-3875

            Assignee:
            Unassigned Unassigned
            Reporter:
            Shwetakale Shwetakale [X]
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: