Thread.current[:session] is not prefixed

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Unknown
    • 8.1.0, 8.0.3
    • Affects Version/s: None
    • Component/s: None
    • None
    • None
    • Fully Compatible
    • None
    • None
    • None
    • None
    • None
    • None

      When Mongoid uses thread-local storage it prefixes the key names with [mongoid], except for :session which for some reason is not prefixed:

      lib/mongoid/threaded.rb:      Thread.current[:session] = session
      lib/mongoid/threaded.rb:      Thread.current[:session]
      lib/mongoid/threaded.rb:      Thread.current[:session] = nil
      

      These should be prefixed like all the other thread-local keys.

            Assignee:
            Neil Shweky (Inactive)
            Reporter:
            Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: