News for hackers. Stuff that matters.
Re:A routine gem update ended up creating $73k worth of subs... by jrochkind1 on Friday January 07, 2022 @08:42PM (#29847637)
That sure doesn't seem to be an endorsement of mongoid.
Re:A routine gem update ended up creating $73k worth of subs... by dsjoerg on Friday January 07, 2022 @10:55PM (#29848480)
It wasn't meant to be. But in a way it is -- mongoid is so useful, that it's worth putting up with some of the flaws in its release/upgrade management. So, it's temperamental. Like owning a Jaguar.
Re:A routine gem update ended up creating $73k worth of subs... by noneeeed on Saturday January 08, 2022 @03:26PM (#29855812)
It isn't.

We have used Mongo for good reasons, it's been appropriate for our workload, and we have used Mongoid since the inception of the product long before I joined the company. Replacing Mongoid at this stage would be a massive piece of work.

I find Mongoid's documentation is vague and lacks important detail, and the API itself violates the principal of least surprise frequently enough to be a problem.

It really is the ugly stepchild of ActiveRecord, in whose image it was created, and which by comparison has been a pleasure to both use and to manage.