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

Add GlobalID example in documentation

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Minor - P4 Minor - P4
    • None
    • Affects Version/s: None
    • Component/s: Docs
    • Labels:

      Rails offers GlobalID feature to identify model instances in an application. This functionality is automatically included in ActiveRecord:

      https://www.mateusnava.com/posts/rails-globalid
      https://github.com/rails/globalid

      Mongoid does not currently transparently integrate with GlobalID as ActiveRecord does. Because there is no transparent integration, we should have an example in Mongoid documentation explaining how to integrate with GlobalID.

      When the documentation is written, the following should be checked:

      Usage with standalone models
      Usage with referenced associations
      Usage with embedded associations
      Usage with ActiveJob

            Assignee:
            Unassigned Unassigned
            Reporter:
            oleg.pudeyev@mongodb.com Oleg Pudeyev (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: