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

[Monkey Patch Removal] Remove Object#__setter__

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Unknown Unknown
    • 9.0.0
    • Affects Version/s: None
    • Component/s: None
    • None

      Refer to MONGOID-5660 for context.

      Object#_setter_ is a kernel monkey-patch used only in Mongoid::Association::Relatable. This is a trivial method so in the below PR I've just inlined it. (The same logic is already inlined in several other places.)

      PR raised here: https://github.com/mongodb/mongoid/pull/5707

            Assignee:
            jamis.buck@mongodb.com Jamis Buck
            Reporter:
            shields@tablecheck.com Johnny Shields
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: