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

NoMethodError: undefined method `unit_of_work' for Mongoid:Module

    • Type: Icon: Task Task
    • Resolution: Done
    • 12_01_17
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      I am using mongoid 4.0.0 on rails 4.2.0 aplication, when I use unit_of_work it throws an NoMethodError: undefined method unit_of_work for Mongoid:Module. It seems it was removed here https://github.com/mongoid/mongoid/pull/3457. So what will be the alternate solution to use unit_of_work method.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sselvamani22 sselvamani22
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: