Analyze Data with MongoDB and Ruby
This post gives a quick and very brief introduction on how to use MongoDB with Ruby. We will see how to install and connect to a MongoDB, how to populate the database with fake documents generated in just a couple of lines of code, and how to build some queries to gain insights into the stored documents. Prerequisites Let’s assume you already have Ruby installed. Throughout this post, we are going to create a small playground consisting of a few files....