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 

Also posted in AJAX, Analytics, Javascript, JQuery, JSON, KendoUI, Metrics, Productivity, Reporting, Telerik, Tools and Vendors | 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 

Also posted in Command Line, Design, Javascript, MongooseJS, New Category, Reporting, SignalLeaf | 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 Philosophy of Software, Principles and Patterns | 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 

Also posted in Backbone, Javascript, JSON, Mongoid, Rails, Ruby | 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 

Also posted in Data Access, Debugging, Mongoid | 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 

Also posted in Bundler, Database, Ruby | 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 Agile, Kanban, Lean Systems, Management, Productivity, Quality, Retrospectives, Throughput, Workflow | 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 

Also posted in Branch-Per-Feature, Continuous Integration, Git, Management, Productivity, Quality, Source Control, Standardized Work, Subversion, Workflow | 16 Comments