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

cannot create unique index

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

      I am using Mongoid 2.2.0 with MongoDB 2.0. I tried to create unique index by using

      Unable to find source-code formatter for language: unique. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
      : true

      , but it does not seem to be working. The index does not get created when I run

      Unable to find source-code formatter for language: rake. Available languages are: actionscript, ada, applescript, bash, c, c#, c++, cpp, css, erlang, go, groovy, haskell, html, java, javascript, js, json, lua, none, nyan, objc, perl, php, python, r, rainbow, ruby, scala, sh, sql, swift, visualbasic, xml, yaml
       db:mongoid:create_indexes

      .

            Assignee:
            Unassigned Unassigned
            Reporter:
            benzheren Ben Hu
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: