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

How i can make object id like in activerecord

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

      How i can make object id like in activerecord. Is it possible using mongoid?

      Like my area object id is "4fc788f3f73147f19500001a" , "4fc788f3f73147f19500002a","4fc788f3f73147f19500003a"

      how i can make it like 1 , 2,3 just like in active record.
      Actually i want to send these ids for Iphone web services to read.

      Is it possible using mongo friendly_id?

      Thanks

            Assignee:
            Unassigned Unassigned
            Reporter:
            ghost Deleted user
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: