MongoDB introduced the aggregation framework since Version 2.2 but the power of the aggregation framework has only been tapped in Mongoid only since 3.1.0. Even today in the latest version (currently v4.0.0), the aggregation framework is used only for some basic functionality - :sum, :count, :avg, :min and :max. While this is much better than running … Continue reading How The Mongoid & MongoDB Aggregation Framework Looks Like!
Author: Gautam Rege
Rubyist, Entrepreneur and co-founder of Josh-Software - one of the leading Ruby development shops in India.
RailsGirls Pune – The Gold & Beautiful
I was skeptical! Just from my experience of organizing RubyConf India and some local meetups, I was sure the turnout would be low and the event would be 'casually boring'. If only I knew how crazily wrong I was! A few days before the event, seeing about 250 registrations was itself a revelation. Then the … Continue reading RailsGirls Pune – The Gold & Beautiful
MongoDB text indexing in action
Recently, I had a good use-case to use MongoDB text-indexing and I gave it a shot. I found it to be pretty awesome - even though its not have full-fledged text-search engine capabilities (like facets etc.) it does the job for simple text searches. So, what did we want to do? We had the following … Continue reading MongoDB text indexing in action
