Category Archives: mongodb

An Epic Report/Dashboard With Keen.io And Kendo UI DataViz

A while back, I wrote a post on the idea of a minimum viable report – basically, just using simple NodeJS files that I run from the command line and console.log stuff out so that I can see the information … Continue reading 

| 2 Comments

Group By Count With MongoDB And MongooseJS

In my last post about reports, I showed a simple script that gave me a count of customers. I used a similar query in SignalLeaf to give me the count of listens / downloads for episodes, too. This gave me … Continue reading 

| 4 Comments

Powerfully simple persistence: MongoDB

In my post “Great time to be a developer“, I listed MongoDB as one of the tools that made my task (track travel times for a given route) easy. This post will show you how. What do I need to … Continue reading 

Also posted in ruby | 3 Comments

Making Mongoid Play Nice With Backbone.js

Backbone has some great features that make it dirt-simple to integrate with a Rails back end. For example, the Backbone models have a .fetch(), .save() and .destroy() method on them. These methods make a call back to your server, based … Continue reading 

| 11 Comments

Mongoid: Don’t Name A Field :options

Joey and I spent the last day or more upgrading our rails environment, specifically so that we could get from Mongoid v2.0.0.Beta.20 up to v2.0.1. In general, the upgrade went ok… with the exception of the Mongoid upgrade. There are … Continue reading 

| 1 Comment

Using Mongo And Mongoid Without Rails

In my previous post on writing a thor application, I mentioned the use of mongo db and the mongoid document mapper, and how I am using these tools outside the context of a rails application. As I mentioned in that … Continue reading 

| 2 Comments

Quick Fix (and a question): Mongoid Edge

I just went throught the process of upgrading my current app to the latest edge for Rails 3, Mongoid and all of my other gems. And when I went to run my specs, I received this error: Database command ‘drop’ … Continue reading 

Also posted in heroku, ruby, sinatra | 17 Comments

The Ruby/Rails Life – My Rails 3 Stack – Part 1

As some of you might know, About a month ago I left my almost 10 year career as a Microsoft developer to become an independent Ruby/Rails developer (a term I’m deeming “pulling a Gunderloy”). It was long overdue for me … Continue reading 

| Leave a comment