Could mongoid add an after_commit method, just to keep interfaces between AR intact?

XMLWordPrintableJSON

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

      There's an issue with paperclip using after_commit actions in mongoid-paperclip and I'm wondering should the after_commit be implemented in mongoid-paperclip or in mongoid.

      Here's the issue https://github.com/meskyanichi/mongoid-paperclip/issues/46
      and here's a proposed fix for it https://github.com/meskyanichi/mongoid-paperclip/pull/45#issuecomment-33613254

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

              Created:
              Updated:
              Resolved: