database Archives - CookiesHQ

Programming screen
October 31, 2017

Multiple databases connected in rake with rails

There are many reasons why you may want to connect to multiple databases, a quick context to ours. We recently took over a project that hadn't launched yet and decided…
Read More
Paper indexes
February 16, 2015

Indexing with Mongoid

While working on a MongoDB-based Rails project, we found several performance issue with some queries. Here's how indexing came to the rescue.
Read More
September 10, 2013

Linode Rails ready stack script and Capistrano database deployment setup

This morning Zac and I started a new project. It was the right time to clean a bit our server install and deployment process. Linode stack script Rails/Passenger/Nginx ready We've…
Read More