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

Fixing session name when override_session globally Fixes MONGOID-2714

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.1.0
    • Component/s: None
    • Labels:
      None

      Description

      > 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

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: