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

Support rails console --sandbox mode

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Minor - P4 Minor - P4
    • 9.0.0
    • Affects Version/s: 7.0.5
    • Component/s: None
    • None

      When running

      rails c --sandbox
      

      And creating some items on the database via `create` for example, after exiting the sandbox mode, all the data should be deleted, because all operations should have been executed in a transaction and the state should have been rollbacked to how it was before.

      However, it doesn't happen, looks like it is not rollbacking at all

            Assignee:
            dmitry.rybakov@mongodb.com Dmitry Rybakov
            Reporter:
            victorcorcos@gmail.com Victor Costa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: