Add implicit transactions to Mongoid

XMLWordPrintableJSON

    • Type: New Feature
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Transactions
    • None
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In ActiveRecord save and destroy operations are automatically wrapped in a transaction. Therefore, all transactional callbacks work even if a user did not explicitly open a transaction.

      This is an expected behavior for this feature. It is basically impossible to implement it in Mongoid without an implicit transaction. We can just get somehow close to it.

      • We should allow users to enable implicit transactions in Mongoid.
      • It should be documented that this option will not work on a standalone deployment
      • We should provide tools to run a replica set deployment locally, or document how to do it.

              Assignee:
              Unassigned
              Reporter:
              Dmitry Rybakov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: