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

Fixing session name when override_session globally Fixes MONGOID-2714

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

      > When call Mongoid.override_session it was not changing the database_name in the models

      > The logic to use session_override was on _session_ method, and not on _session_name* method, so whoever was using *session_name_ was not necessarily getting the right name

            Assignee:
            Unassigned Unassigned
            Reporter:
            arthurnn Arthur Nogueira Neves
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: