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

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Done
    • Priority: Major - P3
    • 5.1.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Shwetakale [X]
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: