Code Monkey home page Code Monkey logo

Comments (4)

digitalplaywright avatar digitalplaywright commented on July 26, 2024

Thank you for sharing your migration code. I've added it to the wiki. Please let me know if it makes sense to you:

I also pushed a fix to master to your indexing problem. From now on we will not automatically create indexes on embedded documents. Please let me know if that fixes your problem.

from mongoid-slug.

janlimpens avatar janlimpens commented on July 26, 2024

Hi,

digitalplaywright@08/102012:

Please let me know if it makes sense to you

it does, except maybe that paragraph 1 suggests to add the array in code and paragraph 2 to use the dynamic feature. I personally did no perceive any difference in the migration (I first followed the original wiki, but then found the deployment process vs. versioning awkward and switched to dynamic which allowed me to deploy via git/capistrano and upgrade in one step).
But of course you have a lot more experience in this field, so...

Cheers,

Jan

from mongoid-slug.

digitalplaywright avatar digitalplaywright commented on July 26, 2024

@janlimpens I left in step 1 because some people, like me, may have turned on the option in Mongoid to not allow dynamic fields.

I assume you are also not experiencing a problem with indexing anymore. Please let me know if you experience any other issues.

from mongoid-slug.

janlimpens avatar janlimpens commented on July 26, 2024

digitalplaywright@11/102012:

I assume you are also not experiencing a problem with indexing anymore. Please let me know if you experience any other issues

No problem per se, @digitalplaywright. But I am under the impression that they actually should be created. But I lack both mongo understanding as well as collections big enough for it to matter :)
Ignorance is bliss.

Thanks!

from mongoid-slug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.