Sergii Sergiienko·Aug 20, 2024MongoDB Timestamp type in Ruby (mongoid)Long story short: Recently I faced an issue, when I had use the existing MongoDB schema and to be compliant with the existing records to…
Banura Perera·May 28, 2023Dynamically Build Where Clauses in Ruby on RailsThis article explain how to build where clauses in ActiveRecord and Mongoid dynamically by using hash to contain the conditions
InTowards Devbydieutb·Apr 10, 2022Rails Single Table/Collection InheritanceThis strategy is quite common when we have many subclasses that are similar to each other, but we want to store all the data in a…
Ahmed Elhossaini·Sep 30, 2018I Demand An Explanation — MongoDB EditionIdentifying potential performance bottlenecks in your MongoDB queries can be tricky, even challenging.
Jordan Storms·Dec 4, 2017Rails and MongoDB: The first attempt…Now that I started learning Javascript I finally see the big picture. Being able to communicate with my database through Rails while…A response icon1A response icon1
Vincent van Gemert·Jun 22, 2017MongoDB Cluster, Haproxy and the failover issueOur MongoDB cluster with one replica set connects to Haproxy. We’re using a simple health check to identify the master and let our…
Mayur Kambariya·Apr 7, 2017Simple Rails application with MongoDB databaseHere we create one simple application in Rails with mongoDB database
InAviabirdbyKartik Jagdale·Dec 21, 2016Mongoid: How to Serialize to JSON with a string id attributeRecently I started working on a project where we are using MongoDB as our Database and we are using Mongoid gem an ODM (Object Document…A response icon2A response icon2