8 Dec 2011

A survey of the Ruby-MongoDB landscape

There are quite a few ways to consume MongoDB using Ruby out there, so much so that it can actually be a bit confusing. In this post will attempt at giving a brief outline of all the options available to you. To decide which are the most popular mongo gems worth mentioning, I had a look at what ruby-toolbox has to say and used some of my own research and experience. It seems that most mongo gems tends to fall in one of three camps: High-level ActiveRecord/Datamapper  like: Mongomapper & Mongoid Lightweight: mongomatic & mongo_odm Native driver: The MongoDB Ruby driver Mongomapper and Mongoid The…read more

15 Nov 2011

Completely purging sensitive files from a git repo

Completely purging sensitive files from a git repo Say for instance you want to open source a private repo with files containing sensitive information. You can effectively purge a file from a git repo as well as all history by running   Remember to do this for each branch in your repo. Then do: More detail here